mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-23 06:28:38 +00:00
7bffa43920
* .Site.Params.post_meta → .Site.Params.Entry.meta * .Site.Params.toc → .Site.Params.Entry.toc * .Site.Params.tocOpen → .Site.Params.Entry.tocOpen
10 lines
No EOL
498 B
HTML
10 lines
No EOL
498 B
HTML
{{- if not .Date.IsZero }}
|
|
<time class="entry__meta-published meta-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
|
|
{{- .Date.Format (.Site.Params.dateFormat | default "January 02, 2006") -}}
|
|
</time>
|
|
{{- end }}
|
|
{{- if ne .Date .Lastmod }}
|
|
<time class="entry__meta-lastmod meta-lastmod" datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}">
|
|
{{- T "meta_lastmod" }}: {{ .Lastmod.Format (.Site.Params.dateFormat | default "January 02, 2006") -}}
|
|
</time>
|
|
{{- end }} |