2015-01-15 19:15:54 +01:00
|
|
|
{% embed 'partials/base.html.twig' %}
|
|
|
|
|
|
|
|
{% set base_url = page.parent.url %}
|
|
|
|
{% set feed_url = base_url %}
|
|
|
|
|
|
|
|
{% if base_url == '/' %}
|
|
|
|
{% set base_url = '' %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if base_url == base_url_relative %}
|
|
|
|
{% set feed_url = base_url~'/'~page.parent.slug %}
|
|
|
|
{% endif %}
|
2015-01-22 13:28:29 +01:00
|
|
|
|
2015-01-15 19:15:54 +01:00
|
|
|
{% block content %}
|
2015-01-23 13:01:07 +01:00
|
|
|
{% set blog_image = page.parent.media.images|first %}
|
|
|
|
|
|
|
|
{% if blog_image %}
|
|
|
|
<div class="flush-top blog-header blog-header-image" style="background: {{ page.parent.header.bg_color }} url({{ blog_image.url }}) no-repeat right;">
|
|
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2017-03-05 20:10:21 +01:00
|
|
|
|
|
|
|
{% if config.plugins.breadcrumbs.enabled %}
|
|
|
|
{% include 'partials/breadcrumbs.html.twig' %}
|
|
|
|
{% endif %}
|
2022-05-14 19:43:00 +02:00
|
|
|
|
2015-01-22 17:14:47 +01:00
|
|
|
<div class="blog-content-item g-grid pure-g-r">
|
|
|
|
<div id="item" class="g-block pure-u-2-3">
|
2015-01-15 19:15:54 +01:00
|
|
|
{% include 'partials/blog_item.html.twig' with {'truncate':false,'big_header':true} %}
|
|
|
|
</div>
|
2015-01-22 17:14:47 +01:00
|
|
|
<div id="sidebar" class="g-block size-1-3 pure-u-1-3">
|
2015-01-15 19:15:54 +01:00
|
|
|
{% include 'partials/sidebar.html.twig' %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% endembed %}
|