Enable width style work for content

This commit is contained in:
Will Faught
2023-10-11 19:52:28 -07:00
parent 09cf17b721
commit 936b5108f3
3 changed files with 13 additions and 28 deletions

View File

@@ -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,