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 @@ <span class="text grey"><i class="octicon octicon-git-branch"></i> {{.NumForks}}</span> </div> </div> - {{if .DescriptionHtml}}<p class="has-emoji">{{.DescriptionHtml}}</p>{{end}} + {{if .DescriptionHTML}}<p class="has-emoji">{{.DescriptionHTML}}</p>{{end}} <p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}</p> </div> {{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 @@ <div class="ui container"> {{template "base/alert" .}} <p id="repo-desc"> - {{if .Repository.DescriptionHtml}}<span class="description has-emoji">{{.Repository.DescriptionHtml}}</span>{{else}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}} + {{if .Repository.DescriptionHTML}}<span class="description has-emoji">{{.Repository.DescriptionHTML}}</span>{{else}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}} <a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a> </p> <div class="ui secondary menu">