change further site navigation links to relative links and site variables

This commit is contained in:
GitKraken 2020-09-25 13:53:59 +02:00
parent e5e9f4f7cc
commit 7e0284d3f6
2 changed files with 12 additions and 12 deletions

View file

@ -1,7 +1,7 @@
<div class="links">
<a href="/">Home</a>
<a href="{{.Site.BaseURL}}">Home</a>
{{ range first 1 (where .Site.Pages "Type" "post") }}
<a href="/post/">Archive</a>
<a href="{{"/post/" | relURL}}">Archive</a>
{{ end }}
{{ range where .Site.Pages "Section" "pages" }}
{{ if .IsPage }}