Move config to data/<language-code>/site.yaml
This commit is contained in:
parent
27a5d36bb0
commit
e263d0b961
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@
|
|||
{{ $sections = (index site.Data site.Language.Lang).sections }}
|
||||
{{ end }}
|
||||
|
||||
{{ $navBarTitle := site.Params.navBarTitle }}
|
||||
{{ $navBarTitle := (index site.Data site.Language.Lang).site.navBarTitle }}
|
||||
{{ if not $navBarTitle }}
|
||||
{{ $navBarTitle = site.Title }}
|
||||
{{ end }}
|
||||
|
@ -152,4 +152,4 @@
|
|||
{{ if $invertedLogo }}
|
||||
<img src="{{ $invertedLogo }}" class="d-none" id="inverted-logo" alt="Inverted Logo">
|
||||
{{ end }}
|
||||
</nav>
|
||||
</nav>
|
Loading…
Add table
Add a link
Reference in a new issue