{{ partial "header" .}}

{{ .Site.Params.notFound.h1 }}

{{ .Site.Params.notFound.p }}

gopher {{ if .Site.Params.mainSections }} {{ $scratch := newScratch }} {{ if in .Site.Params.mainSections "portfolio" }} {{ $scratch.Set "section" .Site.Params.sections.portfolio }} {{ else }} {{ $scratch.Set "section" (.Site.Params.sections.post) }} {{ end }}

While you're here, you can check out my last {{ $scratch.Get "section" }}:

{{ $pages := where site.RegularPages "Type" "in" .Site.Params.mainSections }} {{ range first 1 $pages }} {{ if in .Site.Params.mainSections "portfolio" }} {{ partial "portfolio/item" .}} {{ else if in .Site.Params.mainSections "post" }} {{ partial "post/item" .}} {{ end }} {{ end }} {{end}} {{ partial "footer" .}}