From adfe28eaf94f262a05bca123cbbc8d5a101caffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar?= Date: Fri, 20 Sep 2024 01:55:05 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(feed):=20make=20"Visit=20websi?= =?UTF-8?q?te"=20link=20context-aware=20(#394)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/feed_style.xsl | 9 +++++++-- templates/atom.xml | 15 +++++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/static/feed_style.xsl b/static/feed_style.xsl index 187c131..5fa7160 100644 --- a/static/feed_style.xsl +++ b/static/feed_style.xsl @@ -43,9 +43,14 @@

- + -   + + + : + + +

diff --git a/templates/atom.xml b/templates/atom.xml index a5135b4..0f50753 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -7,7 +7,7 @@ {%- endif -%} - + {{ config.extra.separator | default(value="•") }} @@ -30,6 +30,15 @@ {{- config.extra.post_listing_date | default(value="date") -}} + + {%- if term -%} + {{ term.name }} + {%- elif section.title -%} + {{ section.title }} + {%- else -%} + {{ config.title }} + {%- endif -%} + {#- Load extra CSS (skin) if set in config.toml -#} @@ -47,7 +56,9 @@ {%- endif %}