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