{{ .Title }} {{ partial "partials/components/post-meta.html" . }} {{ $is_toc := cond (ne .Params.toc nil) .Params.toc $.Site.Params.toc }} {{ if (and $is_toc (gt (countrunes .TableOfContents) 0)) }} {{ .TableOfContents }} {{ end }} {{ .Content }}