diff --git a/themes/gohugoioTheme/layouts/_default/list.html b/themes/gohugoioTheme/layouts/_default/list.html
index a0835342a..3b7a2307e 100755
--- a/themes/gohugoioTheme/layouts/_default/list.html
+++ b/themes/gohugoioTheme/layouts/_default/list.html
@@ -1,4 +1,5 @@
{{ define "main" }}
- {{ $section_to_display := .Sections | default .Paginator.Pages }}
+ {{ $paginator := .Paginate (.Pages | lang.Merge (where .Sites.First.RegularPages "Section" .Section)) }}
+ {{ $section_to_display := .Sections | default $paginator.Pages }}
{{ partial "pagelayout.html" (dict "context" . "section_to_display" $section_to_display ) }}
{{ end }}
diff --git a/themes/gohugoioTheme/layouts/news/list.html b/themes/gohugoioTheme/layouts/news/list.html
index 716966e17..5a5284658 100644
--- a/themes/gohugoioTheme/layouts/news/list.html
+++ b/themes/gohugoioTheme/layouts/news/list.html
@@ -28,7 +28,8 @@
{{ $interior_classes := $.Site.Params.flex_box_interior_classes }}
- {{ range .Paginator.Pages }}
+ {{ $paginator := .Paginate (.Pages | lang.Merge (where .Sites.First.RegularPages "Section" .Section)) -}}
+ {{ range $paginator.Pages }}
{{ partial "boxes-section-summaries" (dict "context" . "classes" $interior_classes "fullcontent" false) }}
{{ end }}
diff --git a/themes/gohugoioTheme/layouts/page/documentation-home.html b/themes/gohugoioTheme/layouts/page/documentation-home.html
index 04b57d4ca..91f744c30 100644
--- a/themes/gohugoioTheme/layouts/page/documentation-home.html
+++ b/themes/gohugoioTheme/layouts/page/documentation-home.html
@@ -1,4 +1,4 @@
{{ define "main" }}
-{{ $section_to_display := (.Site.Taxonomies.categories.fundamentals).Pages }}
+{{ $section_to_display := (.Site.Taxonomies.categories.fundamentals).Pages | lang.Merge (.Sites.First.Taxonomies.categories.fundamentals).Pages }}
{{ partial "pagelayout.html" (dict "context" . "section_to_display" $section_to_display ) }}
{{ end }}
diff --git a/themes/gohugoioTheme/layouts/partials/nav-links-docs.html b/themes/gohugoioTheme/layouts/partials/nav-links-docs.html
index 444715471..61aa11dde 100644
--- a/themes/gohugoioTheme/layouts/partials/nav-links-docs.html
+++ b/themes/gohugoioTheme/layouts/partials/nav-links-docs.html
@@ -6,18 +6,18 @@
- {{ if .HasChildren }}
-
- {{end}}
-
- {{end}}
+ {{- if .HasChildren }}
+
+ {{- end}}
+
+ {{- end}}
diff --git a/themes/gohugoioTheme/theme.toml b/themes/gohugoioTheme/theme.toml
index 7334c0e2e..fe55ec76e 100644
--- a/themes/gohugoioTheme/theme.toml
+++ b/themes/gohugoioTheme/theme.toml
@@ -8,7 +8,7 @@ description = ""
homepage = "https://github.com/budparr/gohugo.io"
tags = ["website"]
features = ["", ""]
-min_version = 0.18
+min_version = 0.38
[author]
name = "Bud Parr"