|
|
@ -117,10 +117,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
{{ $link := cond $external .Params.link .Permalink }}
|
|
|
|
{{ $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 }}
|
|
|
|
{{ if and $content $external }}
|
|
|
|
{{ $text := or (.Param "paige.feeds.page_link" | markdownify) "⏎" }}
|
|
|
|
{{ $text := or (.Param "paige.feeds.page_link" | markdownify) "⏎" }}
|
|
|
|
|
|
|
|
|
|
|
@ -133,6 +129,10 @@
|
|
|
|
{{ $content = markdownify .Description }}
|
|
|
|
{{ $content = markdownify .Description }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{ $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 }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ with partial "paige/func-authors.html" . }}
|
|
|
|
{{ with partial "paige/func-authors.html" . }}
|
|
|
|
{{ range . }}
|
|
|
|
{{ range . }}
|
|
|
|
<author>
|
|
|
|
<author>
|
|
|
|