change link to css to relative (#3)
* change link to css to relative * change further site navigation links to relative links and site variables
This commit is contained in:
parent
5ef28a4864
commit
65d2bef432
2 changed files with 13 additions and 13 deletions
layouts/partials
|
@ -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