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" %}
|
{% include "toc.njk" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="content{% if contentIsDivided %} content--divided{% endif %}">
|
<div class="content {{'content--divided' if contentIsDivided }}">
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue