diff --git a/README.md b/README.md index 9ec7e903..12878160 100644 --- a/README.md +++ b/README.md @@ -1061,6 +1061,18 @@ try the following in `yoursite/layouts/partials/paige/style-first.css`: } ``` +### Narrow look + +By default, the content expands to fill the whole window. +This can result in very long lines, depending on the window width. +To use [the recommended line length of 66 characters](https://en.wikipedia.org/wiki/Line_length#Printed_text), +try the following in `yoursite/hugo.toml`: + +```toml +[params.paige] +style = "#paige-content { width: 66ch; }" +``` + ### Menu navigation only If you configure a menu, and intend for it to be sufficient for all navigation, diff --git a/layouts/partials/paige/scripts.html b/layouts/partials/paige/scripts.html index 0419fc71..5e7d87c6 100644 --- a/layouts/partials/paige/scripts.html +++ b/layouts/partials/paige/scripts.html @@ -1,33 +1,5 @@ {{ $page := . }} - {{ partial "paige/script.html" (dict "page" $page "src" "js/paige/bootstrap/bootstrap.bundle.js") }} {{ if $page.Param "paige.math" }} diff --git a/layouts/partials/paige/style.html b/layouts/partials/paige/style.html index 2fa72049..5bf7f959 100644 --- a/layouts/partials/paige/style.html +++ b/layouts/partials/paige/style.html @@ -76,6 +76,7 @@ body, html { .paige-video { margin-bottom: 1rem; + min-width: 550px; } #paige-content {