Enable width style work for content
This commit is contained in:
12
README.md
12
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,
|
||||
|
Reference in New Issue
Block a user