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

View file

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