hugo-theme-relearn/layouts/_default/list.html
2018-10-16 13:05:32 +02:00

22 lines
No EOL
548 B
HTML

{{ partial "header.html" . }}
{{ if eq .Kind "section" }}
{{ .Content }}
{{end}}
{{ if or (eq .Kind "taxonomy") (eq .Kind "taxonomyTerm") }}
<ul>
{{ range .Pages }}
<li><a href="{{.URL}}">{{.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}}
</div>
{{end}}
</footer>
{{ partial "footer.html" . }}