Refactor if expression for content--divided class
This commit is contained in:
parent
467cc87a53
commit
d5aa4cae35
|
@ -14,7 +14,7 @@ layout: main/base
|
|||
{% include "toc.njk" %}
|
||||
{% endif %}
|
||||
|
||||
<div class="content{% if contentIsDivided %} content--divided{% endif %}">
|
||||
<div class="content {{'content--divided' if contentIsDivided }}">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue