This commit is contained in:
2019-05-14 19:59:47 +02:00
parent 3c24252ea3
commit fd38b48e27
68 changed files with 13719 additions and 585 deletions

View File

@@ -5,30 +5,20 @@
{% set show_pagination = header_var('show_pagination', [page, blog])|defined(true) %}
{% set hero_image_name = page.header.hero_image %}
{% block hero %}
{% if hero_image_name %}
{% set hero_image = page.media[hero_image_name] %}
{% set content %}
<h1>{{ page.title }}</h1>
<h2>{{ page.header.subtitle }}</h2>
{% include 'partials/blog/date.html.twig' %}
{% include 'partials/blog/taxonomy.html.twig' %}
{% endset %}
{% include 'partials/hero.html.twig' with {id: 'blog-hero'} %}
{% endif %}
{% endblock %}
{% block body %}
<section class="body-wrapper" class="section blog-listing">
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
{% include 'partials/breadcrumbs.html.twig' %}
{% endif %}
<section class="header-wrapper">
<div class="title">
<h1>{{page.parent.title}}</h1>
</div>
</section>
{% embed 'partials/layout.html.twig' %}
{% block item %}
{% include 'partials/cal-event.html.twig' %}
{% endblock %}
{% endembed %}
<section class="body-wrapper">
{% block item %}
{% include 'partials/cal-event.html.twig' %}
{% endblock %}
</section>
{% endblock %}
{% block newsletter %}
{% include 'partials/newsletters.html.twig' %}
{% endblock %}