Update layouts/partials/page_header.html

This commit is contained in:
Stephan Hadan 2025-01-29 12:39:44 +01:00
parent 35208a128b
commit 63c8be48ed

View file

@ -13,7 +13,7 @@
{{ end }}
</li>
{{ end }}
{{ with .Site.Params.Author.aboutpage }}<li><a href="{{.Site.BaseURL}}{{ . }}">Über</a></li>{{ end }}
<li><a href="{{.Site.BaseURL}}{{ with .Site.Params.Author.aboutpage }}{{ . }}">Über</a></li>{{ end }}
</ul>
{{ else }}
<ul>
@ -22,7 +22,7 @@
<a href="{{.URL}}">{{ .Name }}</a>
</li>
{{ end }}
{{ with .Site.Params.Author.aboutpage }}<li><a href="{{.Site.BaseURL}}{{ . }}">Über</a></li>{{ end }}
<li><a href="{{.Site.BaseURL}}{{ with .Site.Params.Author.aboutpage }}{{ . }}">Über</a></li>{{ end }}
</ul>
{{ end }}
</div>