Fix bad archive link in header

This commit is contained in:
Tony Blyler 2016-11-03 09:37:02 -04:00
parent decd168757
commit e97f173f83

View file

@ -53,7 +53,7 @@
<div class="links">
<a href="{{ .Site.BaseURL }}">Home</a>
{{ range first 1 (where .Site.Pages "Type" "post") }}
<a href="{{ .Site.BaseURL }}post/">Archive</a>
<a href="{{ .Site.BaseURL }}/post/">Archive</a>
{{ end }}
{{ range where .Site.Pages "Type" "!=" "post" }}
<a href="{{ .Permalink }}">{{ .Title }}</a>