Fix bad URL forming

This commit is contained in:
Tony Blyler 2016-11-03 09:11:22 -04:00
parent 113550eb8a
commit decd168757
2 changed files with 7 additions and 7 deletions
layouts/partials

View file

@ -1,7 +1,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>