Disable reading optimisation if sidebar is hidden
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -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">
|
||||
{% for post in site.categories[page.category] %}
|
||||
|
||||
Reference in New Issue
Block a user