{{ define "main" }} {{ with .Site.RegularPages.Prev . }} « Previous post: {{ .Title }} {{ end }} {{ with .Site.RegularPages.Next . }} Next post: {{ .Title }} » {{ end }} {{ if and (ne .Params.toc "false") (or (eq .Params.toc "true") (gt .WordCount 400)) }} {{ end }} {{ .Title }} {{ partial "metadata.html" . }} {{ partial "content.html" .Content }} {{ end }}