summaryrefslogtreecommitdiffstats
path: root/templates/package/content/pub.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/package/content/pub.tmpl')
-rw-r--r--templates/package/content/pub.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/package/content/pub.tmpl b/templates/package/content/pub.tmpl
index e81439d4da..d5676fca5a 100644
--- a/templates/package/content/pub.tmpl
+++ b/templates/package/content/pub.tmpl
@@ -14,6 +14,6 @@
{{if or .PackageDescriptor.Metadata.Description .PackageDescriptor.Metadata.Readme}}
<h4 class="ui top attached header">{{.locale.Tr "packages.about"}}</h4>
{{if .PackageDescriptor.Metadata.Description}}<div class="ui attached segment">{{.PackageDescriptor.Metadata.Description}}</div>{{end}}
- {{if .PackageDescriptor.Metadata.Readme}}<div class="ui attached segment">{{RenderMarkdownToHtml .PackageDescriptor.Metadata.Readme}}</div>{{end}}
+ {{if .PackageDescriptor.Metadata.Readme}}<div class="ui attached segment">{{RenderMarkdownToHtml $.Context .PackageDescriptor.Metadata.Readme}}</div>{{end}}
{{end}}
{{end}}