aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/render.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/render.go')
-rw-r--r--routers/web/repo/render.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/render.go b/routers/web/repo/render.go
index f07b4e8c11..33476c1d2c 100644
--- a/routers/web/repo/render.go
+++ b/routers/web/repo/render.go
@@ -67,7 +67,7 @@ func RenderFile(ctx *context.Context) {
Ctx: ctx,
RelativePath: ctx.Repo.TreePath,
URLPrefix: path.Dir(treeLink),
- Metas: ctx.Repo.Repository.ComposeDocumentMetas(),
+ Metas: ctx.Repo.Repository.ComposeDocumentMetas(ctx),
GitRepo: ctx.Repo.GitRepo,
InStandalonePage: true,
}, rd, ctx.Resp)