diff --git a/config/_default/params.toml b/config/_default/params.toml index d7068be..6f2dc50 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -86,6 +86,7 @@ lastMod = false kaTex = false multilingualMode = false docsVersioning = false + fullWidth = true [menu] [menu.section] diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 887373d..b8b4273 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,7 +14,7 @@ {{ end -}} {{ partial "header/header.html" . }} -
+
{{ block "main" . }}{{ end }}
diff --git a/layouts/docs/single.html b/layouts/docs/single.html index 55fd0e1..1746d0a 100644 --- a/layouts/docs/single.html +++ b/layouts/docs/single.html @@ -11,7 +11,7 @@ {{ end -}} {{ if .Params.toc -}} -
+
{{ else -}}
{{ end -}} diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html index bd26030..ceb5fae 100644 --- a/layouts/partials/footer/footer.html +++ b/layouts/partials/footer/footer.html @@ -1,5 +1,5 @@