| layouts/_default/baseof.html | ●●●●● patch | view | raw | blame | history |
layouts/_default/baseof.html
@@ -8,9 +8,14 @@ {{- partial "nav" . }} </header> <div class="main wrap pt-4"> {{- if or (eq .Section "docs") (and (ne site.Params.uniqueHomepage true) .IsHome) }} {{ $docSections := site.Params.docSections }} {{- with $docSections }}{{- else }} {{- $docSections = "docs" }} {{- end }} {{- if or (in $docSections .Section) (and (ne site.Params.uniqueHomepage true) .IsHome) }} {{- partial "document" . }} {{- else }} <h1>False {{ .Section }}</h1> {{- block "main" . }}{{ end }} {{- end -}} </div>