{{ .Title }}
{{- with .Params.tags }}{{- range . -}} {{.}} {{- end }}
{{- end }}
{{ .Content | replaceRE "()" `${1} ${3}` | safeHTML }}
{{- if .Site.Params.relatedPosts }}
{{- partial "related-posts.html" . -}}
{{- end }}
{{ 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 }}{{- range . -}} {{.}} {{- end }}
{{- end }}