From 0c631c8ea2d9640c83dc727d6984d835fa017b63 Mon Sep 17 00:00:00 2001 From: Alexander Bilz <mail@alexbilz.com> Date: Fri, 07 May 2021 20:30:07 +0000 Subject: [PATCH] Added description for changing content ratio --- README.md | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 5de34e7..b69fd87 100644 --- a/README.md +++ b/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 -- Gitblit v1.10.0