Another try to fix subpath navigation problem #25

Merged
stephan.hadan merged 1 commit from hotfix/fix-menu-on-subpath-deployed-sites into main 2025-01-29 12:00:31 +01:00

View file

@ -1,6 +1,6 @@
<header> <header>
<nav> <nav>
<h1><a href="{{.site.Home.RelPermalink}}">@{{ .Site.Params.Author.handle }}</a> {{ .Site.Title }}.</h1> <h1><a href="{{.Site.BaseURL}}">@{{ .Site.Params.Author.handle }}</a> {{ .Site.Title }}.</h1>
<div class="menu"> <div class="menu">
{{ if isset .Site.Params "rsssections" }} {{ if isset .Site.Params "rsssections" }}
{{ $.Scratch.Add "sections" .Site.Params.rsssections }} {{ $.Scratch.Add "sections" .Site.Params.rsssections }}