Commit 3204042c authored by ancoats's avatar ancoats
Browse files

Add section archive blocks to category templates

parent 2569a314
......@@ -45,3 +45,20 @@
{% endblock %}
{% endembed %}
{% endblock %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archiveEvents').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: 'Events calendar'|t,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -33,3 +33,20 @@
{% endblock %}
{% endembed %}
{% endblock %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archiveNews').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: 'News archive'|t,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -38,3 +38,22 @@
{% endblock %}
{% endembed %}
{% endblock %}
{% block prefooter %}
{% block a %}
{% include '_partials/components/shared/block-discourse.twig' with {
class: 'c-box--center u-background-color-yellow'
} %}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archivePosts').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: 'Blog archive'|t,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment