aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/README.md
diff options
context:
space:
mode:
authorPedro H <5179251+pedrohdz@users.noreply.github.com>2017-04-29 17:23:42 +0800
committerPedro H <pedro.codez@gmail.com>2018-04-01 12:09:17 +0200
commit39972edd5aecddf0595633a31a357f90572c0a98 (patch)
treef42e82825c24c5663e6994f3cc44437e3cececa4 /pelican-bootstrap3/README.md
parent319c5ffe1652a8e34a04a4cdafd299ce0793326a (diff)
downloadpelican-themes-39972edd5aecddf0595633a31a357f90572c0a98.tar.gz
Added PADDED_SINGLE_COLUMN_STYLE setting
The `PADDED_SINGLE_COLUMN_STYLE` allows the main page content to be centered with padding on the sides. This setting takes precidence over `HIDE_SIDEBAR`, `ABOUT_ME`, and `AVATAR`, hiding the sidebar completely when `PADDED_SINGLE_COLUMN_STYLE` is set to `True`. Also cleaned up how the `class`es are assigned in the main content div. Things were starting to get unreadable in there IMHO.
Diffstat (limited to 'pelican-bootstrap3/README.md')
-rw-r--r--pelican-bootstrap3/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/pelican-bootstrap3/README.md b/pelican-bootstrap3/README.md
index ccf739d..27b9d7a 100644
--- a/pelican-bootstrap3/README.md
+++ b/pelican-bootstrap3/README.md
@@ -272,6 +272,15 @@ Other sidebar related options include:
* To remove the sidebar entirely, set `HIDE_SIDEBAR` to _True_.
* To move the sidebar to the left, set `SIDEBAR_ON_LEFT` to _True_.
* To turn off inlined icons in the titles set `DISABLE_SIDEBAR_TITLE_ICONS` to
+ _True_.
+
+### Padded, Single Column Content Style
+
+The main body of the pages will be generated centered and with padding on the sides when `PADDED_SINGLE_COLUMN_STYLE` is set to `True`.
+
+The values in `HIDE_SIDEBAR`, `ABOUT_ME`, and ` AVATAR` are ignored when `PADDED_SINGLE_COLUMN_STYLE` is set to `True`. This means that none of the sidebar content will be rendered.
+
+Use of the `PADDED_SINGLE_COLUMN_STYLE` can be seen at [droun.in](https://droun.in/). Note that the example blog is utilizing a modified [Bootstrap/Bootswatch configuration](https://github.com/digitalrounin/bootswatch/tree/drounin/drounin) with [custom CSS](https://droun.in/css/custom.css).
### reStructuredText styles