maj
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user