2021-09-11 22:40:03 +00:00
|
|
|
{{- partial "header.html" . }}
|
|
|
|
{{- if eq .Kind "section" }}
|
2017-07-27 19:42:07 +00:00
|
|
|
|
2021-09-11 22:40:03 +00:00
|
|
|
{{ partial "content.html" . }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if or (eq .Kind "taxonomy") (eq .Kind "term") }}
|
|
|
|
<ul>
|
2022-02-23 14:04:12 +00:00
|
|
|
{{- range .Data.Terms.Alphabetical }}
|
|
|
|
{{- if and .Page.Title (or (ne (.Page.Scratch.Get "relearnIsHiddenStem") true) (ne .Page.Site.Params.disableTagHiddenPages true) ) }}
|
2022-02-23 15:09:17 +00:00
|
|
|
<li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a> ({{ len .Pages }})</li>
|
2022-02-23 14:04:12 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- else }}
|
|
|
|
{{- range sort .Pages "Title" }}
|
|
|
|
{{- if and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableTagHiddenPages true) ) }}
|
2021-09-11 22:40:03 +00:00
|
|
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
2022-02-23 14:04:12 +00:00
|
|
|
{{- end }}
|
2021-09-24 04:59:28 +00:00
|
|
|
{{- end }}
|
2021-09-11 22:40:03 +00:00
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
{{- end }}
|
|
|
|
{{- partial "footer.html" . }}
|