2015-01-26 17:07:30 +01:00
|
|
|
{% embed 'partials/base.html.twig' %}
|
|
|
|
{% set collection = page.collection() %}
|
|
|
|
{% set base_url = page.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.slug %}
|
|
|
|
{% endif %}
|
2020-12-13 01:32:27 +01:00
|
|
|
|
2015-01-26 17:07:30 +01:00
|
|
|
{% block content %}
|
|
|
|
{% set blog_image = page.media.images|first %}
|
|
|
|
{% if blog_image %}
|
|
|
|
<div class="flush-top blog-header blog-header-image" style="background: {{ page.header.bg_color }} url({{ blog_image.url }}) no-repeat right;">
|
|
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-12-13 01:32:27 +01:00
|
|
|
|
2015-01-26 17:07:30 +01:00
|
|
|
<div class="content-wrapper archive-list g-grid pure-g-r">
|
|
|
|
<div id="listing" class="g-block pure-u-2-3">
|
2020-12-13 01:32:27 +01:00
|
|
|
{{ page.content|raw }}
|
2015-01-26 17:07:30 +01:00
|
|
|
{% if config.plugins.taxonomylist.enabled %}
|
|
|
|
<h4>Archives by tags</h4>
|
|
|
|
{% include 'partials/taxonomylist.html.twig' with {'taxonomy':'tag'} %}
|
|
|
|
{% endif %}
|
2020-12-13 01:32:27 +01:00
|
|
|
|
2015-01-26 17:07:30 +01:00
|
|
|
{% if config.plugins.archives.enabled %}
|
|
|
|
<h4>Archives by month</h4>
|
|
|
|
{% include 'partials/archives.html.twig' %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div id="sidebar" class="g-block size-1-3 pure-u-1-3">
|
|
|
|
{% include 'partials/sidebar.html.twig' %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
{% endembed %}
|
|
|
|
|
|
|
|
|