change link to css to relative ()

* change link to css to relative

* change further site navigation links to relative links and site variables
This commit is contained in:
Alexander O 2020-10-14 21:24:44 +02:00 committed by GitHub
parent 5ef28a4864
commit 65d2bef432
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 13 deletions
layouts/partials

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 }}