# {{ i18n "articleStats" }}

{{ if .Params.image }} {{ .Title }} {{ end }}
  • {{ .Site.Params.author }}
  • {{ .WordCount }} {{ i18n "words" }}
  • {{ if .Site.Params.readingTime }}
  • {{ .ReadingTime }} {{ i18n "min" }} {{ i18n "readingTime" }}
  • {{ end }} {{ $articleType := .Params.type | default "" }} {{ $typeConfig := .Site.Params.articleTypes }} {{ $typeData := index $typeConfig $articleType }} {{ if and $typeData $articleType }}
  • {{ i18n $articleType }}
  • {{ end }}

{{ partial "social-share.html" (dict "page" . "mode" "sidebar") }} {{ if and .Site.Params.relatedPosts (eq .Section "articles") }} {{ $related := first 5 (.Site.RegularPages.Related .) }}

# {{ i18n "relatedPosts" }}

{{ if $related }}
    {{ range $related }} {{ $articleType := .Params.type | default "life" }} {{ $excerpt := .Description | default .Summary }}
  • {{ .Title }} ยท {{ .PublishDate.Format "Jan 2006" }} {{ if $excerpt }}

    {{ $excerpt | plainify | truncate 60 }}

    {{ end }}
  • {{ end }}
{{ else }}

{{ i18n "noRelated" }}

{{ end }}
{{ end }}
{{ partial "tag-cloud.html" (dict "page" . "showCount" false "wrapInWidget" true "maxTags" 15) }}