{{ $include_toc := .Params.include_toc}}

{{ .Title }}

{{ with .Params.subtitle }} {{.}} {{ end }} {{ partial "page-single/post-meta.html" . }}
{{ $tableOfContents := .TableOfContents }} {{ with .Site.Params.toc }} {{ if ne $include_toc false }}
{{ if eq . "hugo" }} {{ $tableOfContents }} {{ else if eq . "tocbot"}}
{{ end }}
{{ end }} {{ end }}
{{ .Content }}
{{ partial "page-single/post-navigation.html" . }} {{ partial "page-single/post-related.html" . }} {{ partial "page-single/post-comment.html" . }}