Simplify writing

This commit is contained in:
sergioisidoro authored and Bjørn Erik Pedersen committed 2022-09-03 21:36:21 +02:00
1 parent 9b30e81b93
commit 85e50325c7
1 file changed
+1 -1
@@ -510,7 +510,7 @@ The rendering of the main navigation works as usual. `.Site.Menus` will just con
### Dynamically localizing menus with i18n
While customizing menus per language is useful, your config file can become hard to maintain if you have a lot of languages
If your menus are the same in all languages, and the only thing that changes is the actual translation, you can use the menu `.Identifier` as a translation key for the name of the the menu:
If your menus are the same in all languages (ie. if the only thing that changes is the translated name) you can use the `.Identifier` as a translation key for the menu name:
{{< code-toggle file="config" >}}
[[menu.main]]