Commit 7bb4d610e5
tries to take the app_name from the locale, however, it is a user defined setting. This causes the app name to simply display as `app_name` instead of the correct value.
templates/helper.go automatically injects the AppName variable into every template, so we can safely use that instead.
Signed-off-by: Daniel Derzsi <daniel@tohka.us>
tags/v1.7.0-dev
@@ -7,7 +7,7 @@ | |||
</div> | |||
<div class="hero"> | |||
<h1 class="ui icon header title"> | |||
{{.i18n.Tr "app_name"}} | |||
{{AppName}} | |||
</h1> | |||
<h2>{{.i18n.Tr "app_desc"}}</h2> | |||
</div> |