mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
07.30.2021 0c631c8ea2d9640c83dc727d6984d835fa017b63
Added description for changing content ratio

1 files modified
7 ■■■■■ changed files
README.md 7 ●●●●● patch | view | raw | blame | history
README.md
@@ -152,6 +152,13 @@
listDateFormat = "Jan 2"
```
### Changing the sidebar/content ratio
By default, the content fills up 60% of the screen width on devices with a full HD resolution. If you want to change the ratio, adjust the `contentratio` variable. Let's, for example, set the content ratio to 70%:
```toml
[params]
contentratio = 0.7
```
### Read-more Links
You can enable read-more links for truncated posts by setting the `readMore = true`. The length of the preview is controlled by Hugo's `summarylength`. Read-more links are disabled by default.
```toml