Update to remove "Pages"

This commit is contained in:
Tony Blyler 2017-04-19 16:32:28 -04:00
parent 6c72d41c94
commit ef661d427e
2 changed files with 6 additions and 2 deletions

View file

@ -4,7 +4,9 @@
<a href="/post/">Archive</a>
{{ end }}
{{ range where .Site.Pages "Section" "pages" }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ if .IsPage }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
{{ end }}
<a href="#top">Top</a>
</div>

View file

@ -57,6 +57,8 @@
<a href="/post/">Archive</a>
{{ end }}
{{ range (where .Site.Pages "Section" "pages") }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ if .IsPage }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
{{ end }}
</div>