diff --git a/config/_default/params.toml b/config/_default/params.toml index d7068be..09fa32a 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -86,6 +86,7 @@ lastMod = false kaTex = false multilingualMode = false docsVersioning = false + fullWidth = false [menu] [menu.section] diff --git a/config/postcss.config.js b/config/postcss.config.js index cc53868..f9d1a18 100644 --- a/config/postcss.config.js +++ b/config/postcss.config.js @@ -20,6 +20,8 @@ module.exports = { 'td', 'h5', 'alert-link', + 'container-xxl', + 'container-fluid', ...whitelister([ './assets/scss/components/_alerts.scss', './assets/scss/components/_buttons.scss', 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 @@