{{ define "main" }}

{{ i18n "readingTime" .Page.ReadingTime }} {{- if .IsTranslated }} | {{ i18n "postAvailable" }} {{- range .Translations }} {{- end}} {{- end }}

{{ .Title | markdownify }}

{{- if .Params.toc }}

{{- end }} {{- if .Params.Cover }} {{ $img := imageConfig (printf "static/%s" .Params.Cover) }} {{ .Title | plainify | default {{- end }}
{{ .Content }}

{{- with .Params.tags }}

{{- range . -}} {{.}} {{- end }}

{{- end }}

{{ i18n "wordCount" .Page.WordCount }}

{{- if .GitInfo }}

{{ .GitInfo.AbbreviatedHash }} {{- " @ " -}} {{- if .Site.Params.dateformNum -}} {{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }} {{- else -}} {{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }} {{- end }}

{{- end }}
{{- if .Site.Params.EnableSharingButtons }}
{{ partial "sharing-buttons.html" . }}
{{- end }} {{- if and (not $.Site.Params.DisableReadOtherPosts) (or .NextInSection .PrevInSection) }} {{- end }} {{- if .Site.DisqusShortname }} {{- if not (eq .Params.Comments "false") }}
{{ template "_internal/disqus.html" . }}
{{- end }} {{- end }}
{{ end }}