From e55841149d9259f26f4d117daba34b5666a52097 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 11 Sep 2026 22:02:29 +0200 Subject: src/themes/serene: Update to newest version --- src/themes/serene/templates/blog.html | 50 ----------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 src/themes/serene/templates/blog.html (limited to 'src/themes/serene/templates/blog.html') diff --git a/src/themes/serene/templates/blog.html b/src/themes/serene/templates/blog.html deleted file mode 100644 index 2519d28..0000000 --- a/src/themes/serene/templates/blog.html +++ /dev/null @@ -1,50 +0,0 @@ -{% import "macros/prose.html" as macros %} -{% extends "_base.html" %} - -{% block page %}blog{% endblock page%} -{% block lang %}{% if section.extra.lang %}{{ section.extra.lang }}{% else %}{{ section.lang }}{% endif %}{% endblock lang %} -{% block title %}{{ section.title }}{% endblock title %} -{% block desc %} - {% if section.description %} - {% set desc = section.description %} - {% else %} - {% set desc = config.description %} - {% endif %} - -{% endblock desc %} - -{% block content %} -
- {{ macros::back_link(path = get_url(path="/")) }} - {% include "_section_title.html" %} -
- {% if section.extra.categorized %} - {% for category,posts in section.pages | sort(attribute="taxonomies.categories.0") | group_by(attribute="taxonomies.categories.0") %} - {% set category_name = category %} - {% if category is matching("^__[0-9]{2}__") %} - {% set category_name = category | split(pat="") | slice(start=7) | join(sep="") %} - {% endif %} -

{{ category_name }}

-
- {% for post in posts %} - - {{ post.title }} - {{ post.date | date(format=section.extra.date_format) }} - - {% endfor %} -
- {% endfor %} - {% else %} -
- {% for post in section.pages %} - - {{ post.title }} - {{ post.date | date(format=section.extra.date_format) }} - - {% endfor %} -
- {% endif %} -
- {% include "_footer.html" %} -
-{% endblock content %} -- cgit v1.3.1