Fixed switch to "home" when deploying to subpath #20

Merged
stephan.hadan merged 1 commit from hotfix/fix-switch-to-home-when-deploying-to-subpath into main 2025-01-29 10:40:59 +01:00
Showing only changes of commit 2226a0aa9f - Show all commits

View file

@ -1,6 +1,6 @@
<header> <header>
<nav> <nav>
<h1><a href="/">@{{ .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 }}