
Building this site requires Hugo (not yet included in the README or in the installation of dependencies in the Makefile). Still very much work in progress, this is basically the [Geekdocks theme][1] + one page. [1]: https://geekdocs.de/
7 lines
360 B
HTML
7 lines
360 B
HTML
{{ $content := .Content }}
|
|
|
|
{{ $content = $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 }}
|
|
{{ $content = $content | replaceRE `(<table>(?:.|\n)+?</table>)` `<div class="table-wrap"> ${1} </div>` | safeHTML }}
|
|
|
|
{{ return $content }}
|