hugo-theme-relearn/layouts/_default/list.html
Delaby Pierre 79a9777e9a Displays tags on single (using header)
Display tags list when clicking on tag
2018-10-16 12:08:58 +02:00

22 lines
No EOL
517 B
HTML

{{ partial "header.html" . }}
{{ if eq .Kind "section" }}
{{ .Content }}
{{end}}
{{ if eq .Kind "taxonomy" }}
<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" . }}