diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index a4beb2014..2cf7202fd 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -16,7 +16,7 @@ {{.NumForks}} - {{if .DescriptionHtml}}

{{.DescriptionHtml}}

{{end}} + {{if .DescriptionHTML}}

{{.DescriptionHTML}}

{{end}}

{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}

{{end}} diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 52d93a213..6e86518da 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -4,7 +4,7 @@
{{template "base/alert" .}}

- {{if .Repository.DescriptionHtml}}{{.Repository.DescriptionHtml}}{{else}}{{.i18n.Tr "repo.no_desc"}}{{end}} + {{if .Repository.DescriptionHTML}}{{.Repository.DescriptionHTML}}{{else}}{{.i18n.Tr "repo.no_desc"}}{{end}} {{.Repository.Website}}