mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-05 12:50:41 +00:00
Robert Kaussow
38c6059ab8
* fix: use custom render templates to fix references * add back showAnchor condition * change site params access
2 lines
180 B
HTML
2 lines
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 }}
|