38c6059ab8
* fix: use custom render templates to fix references * add back showAnchor condition * change site params access
1 line
180 B
HTML
1 line
180 B
HTML
{{ .Content | replaceRE `<nav id="TableOfContents">\s*<ul>\s*<li>\s*<ul>` `<nav id="TableOfContents"><ul>` | replaceRE `</ul>\s*</li>\s*</ul>\s*</nav>` `</ul></nav>` | safeHTML }}
|