diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index be8c746..9243fe4 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -45,6 +45,8 @@ {{- $content := replaceRE "a href=\"(#.*?)\"" (printf "%s%s%s" "a href=\"" .Permalink "$1\"") .Content -}} {{- $content = replaceRE "img src=\"(.*?)\"" (printf "%s%s%s" "img src=\"" .Permalink "$1\"") $content -}} {{- $content = replaceRE "" "" $content -}} + {{- $content = replaceRE `(?:(?:" -}}{{/* convert hugo notices */}} {{- $content := $content | replaceRE `\{\{%\s/notice.*%\}\}` "<-- /note -->" -}} - {{- $content := $content | replaceRE `((\/\/)|#)\s*torchlight!.*\n` "" -}}{{/* remove torchlight markup */}} + {{- $content := $content | replaceRE `(?:(?: