summaryrefslogtreecommitdiffstats
path: root/templates/status/404.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/status/404.tmpl')
-rw-r--r--templates/status/404.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl
index b9874c5f17..a1b632df2a 100644
--- a/templates/status/404.tmpl
+++ b/templates/status/404.tmpl
@@ -3,7 +3,7 @@
<p style="margin-top: 100px"><img src="{{AppSubUrl}}/img/404.png" alt="404"/></p>
<div class="ui divider"></div>
<br>
- <p>Application Version: {{AppVer}}</p>
+ {{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}}
<p>If you think this is an error, please open an issue on <a href="https://github.com/gogits/gogs/issues/new">GitHub</a>.</p>
</div>
{{template "base/footer" .}}