{{/* Root template for all pages */}} {{ $hasBottomNav := eq .Section "docs" }} {{/* Make sure the page is always visible if JS is disabled */}} {{/* Ensure smooth page loading */}} {{ partial "meta.html" . }} {{ block "title" . }} {{ site.Title }} | {{ site.Params.description }} {{ end }} {{ partial "css.html" . }} {{/* JS that needs to load at the start */}} {{ partial "javascript/head.html" . }}
{{/* {{ partial "banner.html" . }} */}} {{ partial "navbar.html" . }} {{ block "main" . }} {{ end }}
{{/* For things pushed down with the footer (e.g. pagination) */}} {{ block "below" . }} {{ end }} {{ partial "footer.html" . }} {{/* For the mobile nav footer */}} {{ block "subfooter" . }} {{ end }} {{/* JS that needs to load last */}} {{ partial "javascript/below.html" . }} {{/* JS that's solely for the front page React.js shenanigans */}} {{ if .IsHome }} {{ partial "javascript/home.html" . }} {{ end }} {{/* React component used for global search */}} {{ partial "javascript/search.html" . }}