mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
aa54732f09
in partials and generated output
18 lines
No EOL
683 B
HTML
18 lines
No EOL
683 B
HTML
{{- partial "header.html" . }}
|
|
{{- if eq .Kind "section" }}
|
|
|
|
{{ partial "content.html" . }}
|
|
{{- end }}
|
|
{{- if or (eq .Kind "taxonomy") (eq .Kind "term") }}
|
|
<ul>
|
|
{{- range .Pages }}
|
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
|
{{- end }}
|
|
</ul>
|
|
{{- end }}
|
|
<footer class=" footline">
|
|
{{- with .Params.LastModifierDisplayName }}
|
|
<i class='fas fa-user'></i> <a href="mailto:{{ $.Params.LastModifierEmail }}">{{ . }}</a> {{ with $.Date }} <i class='fas fa-calendar'></i> {{ .Format "02/01/2006" }}{{ end }}
|
|
{{- end }}
|
|
</footer>
|
|
{{- partial "footer.html" . }} |