2018-04-21 00:52:22 +02:00
|
|
|
{% extends "layout.html" %}
|
2018-04-23 23:44:05 +02:00
|
|
|
{% from "macros/plugins.html" import render_plugin_list %}
|
2018-04-21 00:52:22 +02:00
|
|
|
{% from 'macros/blocksupport.html' import render_full_width_blocks %}
|
|
|
|
{% block title %}{{ this.title }}{% endblock %}
|
2018-04-23 23:44:05 +02:00
|
|
|
|
2018-04-21 00:52:22 +02:00
|
|
|
{% block outerbody %}
|
2018-04-23 23:44:05 +02:00
|
|
|
{% set image = site.get('/plugins').attachments.images.first() %}
|
|
|
|
{% if image %}
|
|
|
|
<div class="page-banner page-banner-300" style="background-image: url({{ image|url }})"></div>
|
|
|
|
{% endif %}
|
|
|
|
{{ super() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<h1>{{ this.title }}</h1>
|
2018-04-21 00:52:22 +02:00
|
|
|
{% call render_full_width_blocks(this.body.blocks, classes='col-md-12') %}
|
|
|
|
{% endcall %}
|
2018-05-07 22:18:41 +02:00
|
|
|
{% for category in site.query('/plugin-categories').order_by('title') %}
|
2018-04-23 23:44:05 +02:00
|
|
|
<h2><a href="{{ category|url }}">{{ category.title }}</a></h2>
|
2018-05-07 22:18:41 +02:00
|
|
|
<div class="plugin">
|
|
|
|
{{ render_plugin_list(category) }}
|
|
|
|
</div>
|
2018-04-23 23:44:05 +02:00
|
|
|
{% endfor %}
|
2018-04-21 00:52:22 +02:00
|
|
|
{% endblock %}
|