Disable reading optimisation if sidebar is hidden

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-06-09 17:30:31 +02:00
parent 51442ee1dc
commit 220eef2e31
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
layout: default
---
<div class="reading-optimised">
<div {% if page.hidesidebar %}{% else %}class="reading-optimised"{% endif %}>
{{ content }}
<ul class="post-list list-unstyled">
{% assign categories = page.categories | split:',' %}