{{ define "head" }} {{ if .Params.featuredImg -}} {{- else if .Params.images -}} {{- range first 1 .Params.images -}} {{- end -}} {{- end -}} {{ end }} {{ define "header" }} {{ partial "header.html" . }} {{ end }} {{ define "main" }} {{- if (or .Params.images .Params.featuredImg) }}
{{- end }}

{{ .Title }}

{{ .Content | replaceRE "()" `${1}${3}` | safeHTML }}
{{- if .Site.Params.relatedPosts }} {{- partial "related-posts.html" . -}} {{- end }}
{{- with $.Param "author" }}

{{ . }}

{{- end }} {{- with .Params.tags }}

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

{{- end }}

{{ i18n "wordCount" . }}

{{ dateFormat .Site.Params.dateformNumTime .Date.Local }}{{- if .Lastmod }} (last modified {{ dateFormat .Site.Params.dateformNumTime .Lastmod }}){{- end -}}

{{- if and .GitInfo .Site.Params.gitUrl }}

{{ .GitInfo.AbbreviatedHash }} @ {{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}

{{- end }}
{{- if .Params.toc }} {{- end }}
{{- with .NextInSection }} {{- end }} {{- with .PrevInSection }} {{- end }}
{{- partial "comments.html" . -}}
{{ end }} {{ define "footer" }} {{ partialCached "footer.html" . }} {{ end }}