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 }}