feat: add full width as an option

This commit is contained in:
Henk Verlinde
2022-01-28 08:48:57 +01:00
parent 10b791fc7b
commit e011603dfc
5 changed files with 7 additions and 6 deletions

View File

@ -11,7 +11,7 @@
</nav>
{{ end -}}
{{ if .Params.toc -}}
<main class="docs-content col-lg-11 col-xl-9">
<main class="docs-content col-lg-11 col-xl{{ if eq .Site.Params.options.fullWidth false }}-9{{ end }}">
{{ else -}}
<main class="docs-content col-lg-11 col-xl-9 mx-xl-auto">
{{ end -}}