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") }}
|
||||
<a href="/post/">Archive</a>
|
||||
{{ end }}
|
||||
{{ range where .Site.Pages "Type" "!=" "post" }}
|
||||
{{ range where .Site.Pages "Section" "pages" }}
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
<a href="#top">Top</a>
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
{{ range first 1 (where .Site.Pages "Type" "post") }}
|
||||
<a href="/post/">Archive</a>
|
||||
{{ end }}
|
||||
{{ range where .Site.Pages "Type" "!=" "post" }}
|
||||
{{ range (where .Site.Pages "Section" "pages") }}
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue