uci-doc/layouts/_default/single.html

9 lines
345 B
HTML
Raw Normal View History

2020-01-12 06:33:02 -08:00
{{ 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 }}