{{ if ne .Section "post"}}
{{ .Content }}
{{ else }}
{{ if .Site.Params.outdated.enable }}
{{ $days := div (sub now.Unix .Lastmod.Unix) 86400 }}
{{ if gt $days .Site.Params.outdated.limit }}
{{ printf .Site.Params.outdated.warning $days | safeHTML }}
{{ end }}
{{ end }}
{{ .Title }}
{{ if ne .Params.tags nil }}
Keywords:
{{ range .Params.tags }}
#{{ . }}
{{ end }}
{{ end }}
{{ if or .Site.Params.toc .Params.toc }}
Table of Contents
{{ .TableOfContents }}
{{ end }}
{{ if .Site.Params.emphasisWithDots }}
{{ .Content | replaceRE "(\\p{Han}+?)" "$1" | safeHTML }}
{{ else }}
{{ .Content }}
{{ end }}
{{ if .PrevInSection }}
← prev
{{ else }}
{{ end }}
{{ if .NextInSection }}
next →
{{ else }}
{{ end }}
{{ end }}
{{ end }}