Skip to content

Commit 8db3bdc

Browse files
darktohkalunny
authored andcommitted
Fix home page template regression (#5102)
Commit 7bb4d61 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 <[email protected]>
1 parent ea619b3 commit 8db3bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/home.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</div>
88
<div class="hero">
99
<h1 class="ui icon header title">
10-
{{.i18n.Tr "app_name"}}
10+
{{AppName}}
1111
</h1>
1212
<h2>{{.i18n.Tr "app_desc"}}</h2>
1313
</div>

0 commit comments

Comments
 (0)