{{ partial "head.html" . }} {{ partialCached "header.html" . .Page }}
{{ block "main" . }}{{ end }}
{{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") }} {{ $js_path := "js/main.js" }} {{ $mainjs_source := resources.Get $js_path }} {{ $mainjs := $mainjs_source | resources.ExecuteAsTemplate $js_path . }} {{ if (and (eq .Kind `page`) (eq .Section "posts") (ne .Page.Params.nocomment "true") ) }} {{ $wm_js := resources.Get "js/webmention.js" | resources.Minify }} {{end}}