theme improvments
This commit is contained in:
parent
fb95ec8626
commit
9f6d28c6be
|
@ -3,13 +3,7 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
{% if page.header.wider_column == 'left' %}
|
||||
{% set colsize = ['six', 'five'] %}
|
||||
{% elseif page.header.wider_column == 'right' %}
|
||||
{% set colsize = ['five', 'six'] %}
|
||||
{% else %}
|
||||
{% set colsize = ['six', 'six'] %}
|
||||
{% endif %}
|
||||
{% set colsize = [page.header.leftcol, page.header.rightcol] %}
|
||||
|
||||
<section id="{{ page.header.section_id }}" class="two-col">
|
||||
<div class="row">
|
||||
|
@ -20,6 +14,8 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
{% include 'modular/ribbon.html.twig' %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,13 +1,4 @@
|
|||
{% block content %}
|
||||
|
||||
{% if page.header.section_id %}
|
||||
<section id="{{ page.header.section_id }}">
|
||||
{% else %}
|
||||
<section id="{{ page.slug }}">
|
||||
{% endif %}
|
||||
|
||||
<div class="ribbon">
|
||||
{{ page.content|raw }}
|
||||
{% if page.header.ribbon == "left" %}
|
||||
<img src="user/themes/lacre-basic/images/left_ribbon.png">
|
||||
{% elseif page.header.ribbon == "right" %}
|
||||
|
@ -16,5 +7,3 @@
|
|||
<img src="user/themes/lacre-basic/images/bottom_ribbon.png">
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue