Fix README for language settings

This commit is contained in:
panr 2024-08-21 15:43:02 +02:00
parent bd69f691b6
commit d00310f46e
2 changed files with 4 additions and 3 deletions

View file

@ -211,9 +211,10 @@ paginate = 5
[languages]
[languages.en]
languageName = "English"
title = "Terminal"
[languages.en.params]
languageName = "English"
title = "Terminal"
subtitle = "A simple, retro theme for Hugo"
owner = ""
keywords = ""

View file

@ -9,7 +9,7 @@
{{ if gt (len $.Site.Menus.main) $.Site.Params.showMenuItems }}
<li>
<ul class="menu">
<li class="menu__trigger">{{ $.Site.Params.MenuMore }}&nbsp;</li>
<li class="menu__trigger">{{ $.Site.Params.menuMore }}&nbsp;</li>
<li>
<ul class="menu__dropdown">
{{ range last (sub (len $.Site.Menus.main) $.Site.Params.showMenuItems) $.Site.Menus.main }}