<div class="post-meta">
{{- if .Date -}}
  <time class="post-date">
    {{- partial "post-date" . -}}
    {{- if and $.Site.Params.showLastUpdated .Lastmod -}}
      &nbsp;{{- 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>

