mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-22 22:18:41 +00:00
fa13a9b9e2
* disable_comments -> comments * dateformat -> dateFormat * CardsColumns -> cardsPerRow
11 lines
No EOL
856 B
HTML
11 lines
No EOL
856 B
HTML
{{- if not .Date.IsZero }}
|
|
<time class="post__meta-published meta-published" datetime="{{ .Date.Format "2006-01-02T15:04:05" }}">{{ .Date.Format ( .Site.Params.dateFormat | default "January 02, 2006" )}}</time>
|
|
{{ end }}
|
|
{{- if ne .Date .Lastmod }}
|
|
<time class="post__meta-lastmod meta-lastmod" datetime="{{ .Lastmod.Format "2006-01-02T15:04:05" }}">{{ T "meta_lastmod" }}: {{ .Lastmod.Format ( .Site.Params.dateFormat | default "January 02, 2006" )}}</time>
|
|
{{- end }}
|
|
{{- if .Params.categories }}
|
|
<span class="post__meta-categories meta-categories">
|
|
<span class="meta-categories__list">{{ T "meta_categories" }}: {{ range $index, $category := .Params.categories }}{{ if gt $index 0 }}, {{ end }}<a class="meta-categories__link" href="{{ "categories/" | relLangURL }}{{ . | urlize | lower }}" rel="category">{{ . }}</a>{{ end }}</span>
|
|
</span>
|
|
{{- end }} |