From e44ae3da4bb8dfcd986d1cc0932a4ce9f61cfbd1 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 24 Sep 2023 17:05:42 -0700 Subject: [PATCH] Change footnote links to be absolute --- layouts/_default/rss.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 6a0c4534..12cbc55f 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -105,6 +105,9 @@ {{ $description = .Description | markdownify}} {{ end }} + {{ $description = $description | replaceRE `` (printf `` .Permalink) }} + {{ $description = $description | replaceRE `` (printf `` .Permalink) }} + {{ if and (not $description) (not $title) }} {{ warnf "layouts/_default/rss.xml: Page %s does not have a title or description" .RelPermalink }} {{ end }}