{% 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 %}

<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}}",
 "keywords": " le_campus_valdedrome ",
 "wordcount": "1120",
"publisher": {
    "@type": "Organization",
    "name": "Le Campus",
    "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>

  {% block item %}
  {% if page.parent.template == "articles" %}
    {% include 'partials/article-item.html.twig' %}
  {% else %}
    {% include 'partials/blog-item.html.twig' %}
  {% endif %}
  {% endblock %}


{% endblock %}

{% block newsletter %}
  {% include 'partials/newsletters.html.twig' %}
{% endblock %}

{% block devis %}
  {% include 'partials/devis.html.twig' %}
{% endblock %}
