Files
site/themes/minimo/layouts/partials/entry/footer.html
2021-09-06 13:02:12 -04:00

26 lines
924 B
HTML

{{ if not ( eq .Section "page" ) }}
<footer class='entry-footer'>
<div class='container sep-before'>
{{- if and ( eq .Site.Params.settings.showLastmod true ) ( not ( eq .Lastmod .Date ) ) -}}
{{- $dateFormat := ( .Site.Params.settings.dateFormat | default "2006, Jan 02" ) -}}
<div class='last-updated'>
{{- partial "svg/icon" "edit" -}}
<span class='screen-reader-text'>{{ i18n "lastUpdated" }}: </span>
<time class='entry-date' datetime='{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}'>
{{- .Lastmod.Format $dateFormat -}}
</time>
</div>
{{- end -}}
{{ range $taxonomy, $pages := .Site.Taxonomies }}
{{- if not ( eq $taxonomy "authors" ) -}}
{{- if ( index $.Params $taxonomy ) -}}
{{- $.Scratch.Set "taxonomy" $taxonomy -}}
{{- partial "entry/taxonomy-list" $ -}}
{{- end -}}
{{- end -}}
{{ end }}
</div>
</footer>
{{ end }}