diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2016-11-29 14:57:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-29 14:57:36 +0800 |
commit | abf6c3a8e31711b8a22525cabb892b5fcdab4e86 (patch) | |
tree | ad29fec895e5137afadc2845dd55939d46313f97 /templates/repo/home.tmpl | |
parent | 16cdbe1956f5dad8cadda64802fcbba0a09535d4 (diff) | |
download | gitea-abf6c3a8e31711b8a22525cabb892b5fcdab4e86.tar.gz gitea-abf6c3a8e31711b8a22525cabb892b5fcdab4e86.zip |
bug fixed caused by #295 (#299)
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r-- | templates/repo/home.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 52d93a213e..6e86518daa 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"> |