Insert permalinks into footnote links in Atom feeds
This commit is contained in:
		| @@ -118,6 +118,8 @@ | ||||
|                 {{ $link := cond $external .Params.link .Permalink }} | ||||
|  | ||||
|                 {{ $content = partial "paige/func-minify.html" (dict "content" $content) }} | ||||
|                 {{ $content = replaceRE `<a href="#fn:(\d+)" class="footnote-ref" role="doc-noteref">` (printf `<a href="%s#fn:$1" class="footnote-ref" role="doc-noteref">` .Permalink) $content }} | ||||
|                 {{ $content = replaceRE `<a href="#fnref:(\d+)" class="footnote-backref" role="doc-backlink">` (printf `<a href="%s#fnref:$1" class="footnote-backref" role="doc-backlink">` .Permalink) $content }} | ||||
|  | ||||
|                 {{ if and $content $external }} | ||||
|                     {{ $text := or (.Param "paige.feeds.page_link" | markdownify) "⏎" }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user