20 lines
761 B
HTML
20 lines
761 B
HTML
<div class="post-meta">
|
|
{{- if .Date -}}
|
|
<time class="post-date">
|
|
{{- partial "post-date" . -}}
|
|
{{- if and $.Site.Params.showLastUpdated .Lastmod -}}
|
|
{{- partial "post-lastmod" . -}}
|
|
{{- end -}}
|
|
</time>
|
|
{{- end -}}
|
|
{{- with .Params.Author -}}
|
|
<span class="post-author">{{ . }}</span>
|
|
{{- end -}}
|
|
{{- if and (.Param "readingTime") (eq (.Param "readingTime") true) -}}
|
|
<span class="post-reading-time">{{ .ReadingTime }} {{ $.Site.Params.minuteReadingTime | default "min read" }}</span>
|
|
{{- end -}}
|
|
{{- if and (.Params.showWordCount | default .Site.Params.showWordCount) (eq (.Param "showWordCount") true) -}}
|
|
<span class="post-word-count">{{ .WordCount }} {{ $.Site.Params.words | default "words" }}</span>
|
|
{{- end -}}
|
|
</div>
|
|
|