2019-04-02 19:54:29 +02:00
|
|
|
{% extends 'partials/base.html.twig' %}
|
|
|
|
{% set blog = page.find(header_var('blog_url')|defined(theme_var('blog-page'))) %}
|
|
|
|
{% set show_breadcrumbs = header_var('show_breadcrumbs', [page, blog])|defined(true) %}
|
|
|
|
{% set show_sidebar = header_var('show_sidebar', [page, blog])|defined(true) %}
|
|
|
|
{% set show_pagination = header_var('show_pagination', [page, blog])|defined(true) %}
|
|
|
|
{% set hero_image_name = page.header.hero_image %}
|
|
|
|
|
|
|
|
{% block body %}
|
2019-05-27 17:03:03 +02:00
|
|
|
|
|
|
|
<script type="application/ld+json">
|
|
|
|
{
|
|
|
|
"@type": "Article",
|
|
|
|
"headline": "{{page.title}}",
|
|
|
|
"alternativeHeadline": "{{page.summary}}",
|
|
|
|
"image": "http://example.com/image.jpg",
|
|
|
|
"author": "",
|
|
|
|
"award": "{{page.title}}",
|
|
|
|
"editor": "Le Campus",
|
|
|
|
"genre": "{{page.title}}",
|
2019-07-11 15:15:04 +02:00
|
|
|
"keywords": " le_campus_valdedrome ",
|
2019-05-27 17:03:03 +02:00
|
|
|
"wordcount": "1120",
|
|
|
|
"publisher": {
|
|
|
|
"@type": "Organization",
|
2019-07-11 15:15:04 +02:00
|
|
|
"name": "Le Campus",
|
2019-05-27 17:03:03 +02:00
|
|
|
"logo": {
|
|
|
|
"@type": "ImageObject",
|
|
|
|
"url": "/user/themes/lecampus/images/logo_lecampus.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"url": "{{uri.base}}",
|
|
|
|
"datePublished": "2015-09-20",
|
|
|
|
"dateCreated": "2015-09-20",
|
|
|
|
"dateModified": "2015-09-20",
|
|
|
|
"description": "We love to do stuff to help people and stuff",
|
|
|
|
"articleBody": "You can paste your entire post in here, and yes it can get really really long."
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2019-05-14 19:59:47 +02:00
|
|
|
{% block item %}
|
2019-12-20 11:30:26 +01:00
|
|
|
{% if page.parent.template == "articles" %}
|
|
|
|
{% include 'partials/article-item.html.twig' %}
|
|
|
|
{% else %}
|
2019-05-27 17:03:03 +02:00
|
|
|
{% include 'partials/blog-item.html.twig' %}
|
2019-12-20 11:30:26 +01:00
|
|
|
{% endif %}
|
2019-05-14 19:59:47 +02:00
|
|
|
{% endblock %}
|
2019-12-20 11:30:26 +01:00
|
|
|
|
2021-06-21 14:15:18 +02:00
|
|
|
|
2019-05-14 19:59:47 +02:00
|
|
|
{% endblock %}
|
2019-04-03 15:29:46 +02:00
|
|
|
|
2019-05-14 19:59:47 +02:00
|
|
|
{% block newsletter %}
|
|
|
|
{% include 'partials/newsletters.html.twig' %}
|
|
|
|
{% endblock %}
|
2019-04-08 18:00:38 +02:00
|
|
|
|
2019-05-14 19:59:47 +02:00
|
|
|
{% block devis %}
|
|
|
|
{% include 'partials/devis.html.twig' %}
|
2019-04-02 19:54:29 +02:00
|
|
|
{% endblock %}
|