{{ $isDoc := eq .Section "docs" }} {{ $isHome := .IsHome }} {{ if $isHome }} {{/* The homepage layouts/index.html template defines its own
content. */}} {{ block "main" . }} {{ end }} {{ else }} {{ partial "google-analytics.html" . }} {{ partial "meta.html" . }}