Add Site.feed_url helper and use it in the template

This commit is contained in:
2026-08-26 05:07:40 +02:00
parent f18392c899
commit a0fa7d8fe2
3 changed files with 11 additions and 1 deletions
+3
View File
@@ -4,6 +4,9 @@
{% block head %}
{% if page.page_num > 1 %}<meta name="robots" content="noindex, follow">{% endif %}
{% if page.kind == "section" %}
<link rel="alternate" type="application/atom+xml" title="{{ page.label }}" href="{{ site.feed_url('section', page.label) }}">
{% endif %}
{% endblock %}
{% block breadcrumb %}