mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-07 09:02:29 +00:00
26 lines
924 B
HTML
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 }}
|