Simplify
This commit is contained in:
@@ -124,7 +124,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if not $content }}
|
{{ if not $content }}
|
||||||
{{ $content = $subpage.Description | markdownify }}
|
{{ $content = markdownify $subpage.Description }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ $content = replaceRE `<a href="#fn:(\d+)" class="footnote-ref" role="doc-noteref">` (printf `<a href="%s#fn:$1" class="footnote-ref" role="doc-noteref">` $subpage.Permalink) $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">` $subpage.Permalink) $content }}
|
||||||
|
Reference in New Issue
Block a user