mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-21 20:30:39 +00:00
9 lines
345 B
HTML
9 lines
345 B
HTML
{{ define "main" }}
|
|
{{ partial "page-header" . }}
|
|
|
|
<article class="gdoc-markdown">
|
|
<h1>{{ partial "title" . }}</h1>
|
|
{{ .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 }}
|
|
</article>
|
|
{{ end }}
|