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

@@ -27,9 +27,11 @@
{% embed 'partials/layout.html.twig' %}
{% block item %}
<div class="content">
<div class="txt">
<h2>{{page.title}}</h2>
{{content}}
</div>
</div>
{% endblock %}
{% endembed %}

View File

@@ -71,23 +71,23 @@
</script>
<!-- End Matomo Code -->
<script type="application/ld+json">
{
"@graph": [
<script type="application/ld+json">
{
"@type": "Place",
"address": {
"@type": "PostalAddress",
"addressLocality": "Eurre",
"addressRegion": "Val de Drôme",
"postalCode": "26400",
"streetAddress": "Place Michel Paulus,Ecosite du Val de Drôme"
},
"name": "Le Campus Biovallee"
"@graph": [
{
"@type": "Place",
"address": {
"@type": "PostalAddress",
"addressLocality": "Eurre",
"addressRegion": "Val de Drôme",
"postalCode": "26400",
"streetAddress": "Place Michel Paulus,Ecosite du Val de Drôme"
},
"name": "Le Campus Biovallee"
}
]
}
]
}
</script>
</script>
</head>

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>

File diff suppressed because it is too large Load Diff