change further site navigation links to relative links and site variables
This commit is contained in:
parent
e5e9f4f7cc
commit
7e0284d3f6
2 changed files with 12 additions and 12 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue