Newer
Older
<ul class="post-infos">
{{ if .Params.Categories }}
<li>
{{- if gt (len .Params.Categories) 1 -}}
{{ i18n "posts.categories" }}
{{- else -}}
{{ i18n "posts.category" }}
{{- end -}}
{{ partial "posts/categories.html" . }}
</li>
{{ end }}
<li>
<time datetime="{{ .Date.Format "2006-01-02T15:04" }}">{{ .Date | time.Format site.Params.posts.date_format }}</time>
<a href="{{ .Permalink }}" itemprop="url">
<span itemprop="name">{{ safeHTML .Params.person }}
</a>
</li>
{{ end }}
{{ with .Params.contents_reading_time }}
<li>
<span>{{ i18n "posts.reading_time" }}</span>
{{ .text }}
</li>
{{ end }}