changes config

This commit is contained in:
GZod01 2024-05-31 11:39:23 +02:00
parent ca100ab3ff
commit 4ab9c2663b
11 changed files with 1301 additions and 1321 deletions

View file

@ -32,7 +32,17 @@
<div class="header-nav-item">
<a
href="{{ .URL }}"
class="link{{ if .Params.customClass }} {{ .Params.customClass }}{{ end }}">{{ .Title }}</a>
class="link{{ if .Params.customClass }} {{ .Params.customClass }}{{ end }}">
{{ $title := .Title }}
{{ with (index site.Params .Identifier) }}
{{ if isset . "title" }}
{{ $title = .Title }}
{{ else }}
{{ $title = . }}
{{ end }}
{{ end }}
{{ $title }}
</a>
</div>
{{ end }}
</div>