This commit is contained in:
2019-05-28 16:46:46 +02:00
parent 55356da898
commit efc5ac8bdc
8 changed files with 1983 additions and 3537 deletions

View File

@@ -1,14 +1,24 @@
{% set options = { items: {'@page.self': '/nos-references'}, 'limit': 1 } %}
{% set image = page.media.images|first %}
{% set h5 = h5 ?: 'h2' %}
<div id="reco">
{% for p in page.collection(options)%}
<div class="txt">
{{p.content}}
{% for item in p.collection %}
{% set image = item.media.images|first %}
<div class="item">
{% if image %}
{{ image.html('','logo') }}
{% endif %}
<h3>{{item.title}}</h3>
{{item.content}}
</div>
{% endfor %}
</div>
<div class="title">
<{{h5}}>{{p.title}}</{{h5}}>
</div>
{% endfor %}
</div>