| <!DOCTYPE html> |
| <html class="no-js"> |
| {{ partial "head.html" . }} |
| <body onload="WaveDrom.ProcessAll()"> |
| {{ partial "header.html" . }} |
| <section class="light-bg"> |
| <div class="layout"> |
| {{ partial "parents.html" . }} |
| </div> |
| <div class="layout"> |
| <aside> |
| {{ partial "menu.html" . }} |
| </aside> |
| <main id="main" role="main" class="markdown"> |
| {{ if .Title }}<h1 class="title">{{ .Title }}</h1>{{ end }} |
| <!-- The regex finds header tags and converts the content into a link |
| with a link icon appended. |
| --> |
| {{ .Content |
| | replaceRE "(<h[1-6] id=\"(.+)\".*>)(.*)(</h[1-6]>)" |
| `${1}<a class="header-link" href="#${2}">${3}</a>${4}` |
| | safeHTML |
| }} |
| </main> |
| {{ partial "toc.html" . }} |
| </div> |
| </section> |
| {{ partial "footer.html" . }} |
| </body> |
| </html> |