Add configuration to have post series for things like quickfacts and upcoming reversi
All checks were successful
Build Docker Image / docker (push) Successful in 19s

This commit is contained in:
Lol3rrr
2026-10-04 19:35:12 +02:00
parent 15377b9c66
commit b57796b7b5
8 changed files with 89 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
{% extends "index.html" %}
{% block title %}Browse Series{% endblock title %}
{% block og_title %}Browse Series{% endblock og_title %}
{% block twitter_title %}Browse Series{% endblock twitter_title %}
{% block meta_description %}
<meta name="description" content="Discover articles organized by series in this site index." />
<meta property="og:description" content="Discover articles organized by series in this site index." />
<meta property="twitter:description" content="Discover articles organized by series in this site index." />
{% endblock meta_description %}
{% block content %}
{% block header %}
{{ super() }}
{% endblock header %}
<h1>Series</h1>
{% if terms %}
<ul>
{% for term in terms %}
<li>
<a href="{{ term.permalink | safe }}">{{ term.name }}</a>({{ term.pages | length }})
</li>
{% endfor %}
</ul>
{% endif %}
{% endblock content %}

View File

@@ -0,0 +1,23 @@
{% extends "index.html" %}
{% block title %}Posts in "{{ term.name }}"{% endblock title %}
{% block og_title %}Posts in "{{ term.name }}"{% endblock og_title %}
{% block twitter_title %}Posts in "{{ term.name }}"{% endblock twitter_title %}
{% block meta_description %}
<meta name="description" content="Discover articles from the '{{ term.name }}' series in this site index." />
<meta property="og:description" content="Discover articles from the '{{ term.name }}' series in this site index." />
<meta property="twitter:description" content="Discover articles from the '{{ term.name }}' series in this site index." />
{% endblock meta_description %}
{% block content %}
{% block header %}
{{ super() }}
{% endblock header %}
<h1>{{ term.name }} - Series</h1>
{% for page in term.pages %}
{{ post_macros::page_in_list(page=page) }}
{% endfor %}
{% endblock content %}