{{ partial "head.html" . }}
{{ partial "page_nav.html" . }}

{{ .Title }}

{{ if (or (isset .Site "author") (isset .Site "title"))}} {{ end }} {{ $showReadTime := .Site.Params.showReadTime | default false }} {{if $showReadTime}}
{{ $readTime := math.Round (div (countwords .Content) 220.0) }} {{ $readTime }} minute read
{{ end }} {{ if gt .Params.categories 0 }} {{ end }} {{ if gt .Params.tags 0 }} {{ end }}
{{ with .Resources.ByType "image" }}
{{ range $index, $value := . }} {{ end }}
{{ end }} {{ if .Site.Params.tocInline }}
{{ .TableOfContents }}
{{ end }}
{{ .Content}}
{{ partial "comments.html" . }} {{ partial "page_nav_mobile.html" . }} {{ partial "footer.html" . }}
{{ if not (isset site.Params "disablecopy") }} {{ end }} {{ $mathjax := false }} {{ if isset .Params "mathjax" }} {{ $mathjax = .Params.mathjax }} {{ else if isset .Site.Params "mathjax" }} {{ $mathjax = .Site.Params.mathjax }} {{ end }} {{ if $mathjax }} {{ end }}