Fix bad URL forming
This commit is contained in:
parent
113550eb8a
commit
decd168757
2 changed files with 7 additions and 7 deletions
layouts/partials
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue