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,8 +4,10 @@
<a href="/post/">Archive</a>
{{ end }}
{{ range where .Site.Pages "Section" "pages" }}
{{ if .IsPage }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
{{ end }}
<a href="#top">Top</a>
</div>
{{ partial "foot.html" . }}

View file

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