Only provide links to pages under /pages
This commit is contained in:
parent
b984f79ab3
commit
dac4da61b1
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
{{ range first 1 (where .Site.Pages "Type" "post") }}
|
{{ range first 1 (where .Site.Pages "Type" "post") }}
|
||||||
<a href="/post/">Archive</a>
|
<a href="/post/">Archive</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ range where .Site.Pages "Type" "!=" "post" }}
|
{{ range where .Site.Pages "Section" "pages" }}
|
||||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<a href="#top">Top</a>
|
<a href="#top">Top</a>
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
{{ range first 1 (where .Site.Pages "Type" "post") }}
|
{{ range first 1 (where .Site.Pages "Type" "post") }}
|
||||||
<a href="/post/">Archive</a>
|
<a href="/post/">Archive</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ range where .Site.Pages "Type" "!=" "post" }}
|
{{ range (where .Site.Pages "Section" "pages") }}
|
||||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue