From 0323bbd5b929b55c4031974b43559ce773440723 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Tue, 1 Feb 2022 18:35:47 +0100 Subject: Custom template for applications page --- theme/custom/applications.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 theme/custom/applications.html (limited to 'theme/custom/applications.html') diff --git a/theme/custom/applications.html b/theme/custom/applications.html new file mode 100644 index 0000000..eb0124b --- /dev/null +++ b/theme/custom/applications.html @@ -0,0 +1,22 @@ +{% extends "page.html" %} + +{% block after_content %} +{% for page in hidden_pages|selectattr("date")|sort(reverse=true,attribute="date") %} +{% for tag in page.tags if "application" == tag.name %} +

{{ page.title }}

+
+ {% if summarise or page.metadata['summary'] or SUMMARY_MAX_LENGTH %} + {% if page.featured_image %} + + {% endif %} + {{ page.summary }} + {% endif %} +
+{% endfor %} + {% if not loop.last %} +
+ {% endif %} +{% endfor %} +{{ super() }} + +{% endblock %} -- cgit v1.2.3