{{ with .ctx }} {{- if $.IsHome }} {{- if and .Weight (gt .Weight 0) }} {{- end }} {{- if $.IsHome }} {{- if and (isset .Params "link") (ne .Params.Link "") }} {{ .Title }} {{- else }} {{ .Title }} {{- end }} {{- else }} {{- .Title }} {{- if .Site.Params.postEdit.enable }} {{- $editURL := printf "%s%s" .Site.Params.postEdit.url (path.Clean .File.Path) }} {{- end }} {{- end }} {{- if $.IsHome }} {{ else }} {{ end -}} {{ partial "post/header_meta/created_date.html" . }} {{ partial "post/header_meta/update_date.html" . }} {{ partial "post/header_meta/categories.html" . }} {{- if not $.IsHome }} {{ partial "post/header_meta/words.html" . }} {{ partial "post/header_meta/readtime.html" . }} {{ partial "post/header_meta/views.html" . }} {{ end }} {{ end }}