mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
27 lines
No EOL
941 B
HTML
27 lines
No EOL
941 B
HTML
{{- partialCached "page-meta.hugo" . .RelPermalink }}
|
|
{{- partial "header.html" . }}
|
|
<article>
|
|
<header class="headline">
|
|
</header>
|
|
{{- $page := . }}
|
|
|
|
{{- $title := i18n .Data.Singular }}
|
|
{{- if not $title }}
|
|
{{- $title = .Data.Singular }}
|
|
{{- end }}
|
|
{{- $title = printf "%s %s %s" $title (default "::" .Site.Params.titleSeparator) .Title }}
|
|
<h1 id="{{ $title | plainify | anchorize }}">{{ $title }}</h1>
|
|
{{- .Content }}
|
|
<ul class="columnize">
|
|
{{- range sort .Pages "Title" }}
|
|
{{- $c:=""}}{{/* display pages of a term */}}
|
|
{{- if and .Title .RelPermalink (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableTagHiddenPages true) ) }}
|
|
<li><a href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .) }}">{{ .Title }}</a></li>
|
|
{{- end }}
|
|
{{- end }}
|
|
</ul>
|
|
|
|
<footer class="footline">
|
|
</footer>
|
|
</article>
|
|
{{- partial "footer.html" . }} |