| | |
| | | {{define "head"}} |
| | | <!DOCTYPE html> |
| | | <html lang="{{ .Lang }}"> |
| | | {{ partial "head.html" . }} |
| | | {{end}} |
| | | |
| | | {{define "main"}} |
| | | {{$content := replaceRE `a href="\.\.\/(.+%20.+)+"` `$1` .Content}} |
| | | {{$content = replace $content "%20" "-"}} |
| | | {{$content = $content | safeHTML}} |
| | | <!-- Main Page --> |
| | | <body> |
| | | {{partial "search.html" .}} |
| | | <div class="singlePage"> |
| | | {{partial "darkmode.html" .}} |
| | | {{$content}} |
| | | |
| | | <!-- Contact Info --> |
| | | <div> |
| | | {{partial "footer.html" .}} |
| | | </div> |
| | | <!-- Begin actual content --> |
| | | {{partial "header.html" .}} |
| | | <article> |
| | | {{partial "toc.html" .}} |
| | | {{partial "textprocessing.html" . }} |
| | | {{if $.Site.Data.config.enableRecentNotes}} |
| | | {{partial "recent.html" . }} |
| | | {{end}} |
| | | </article> |
| | | {{partial "footerIndex.html" .}} |
| | | </div> |
| | | {{end}} |
| | | </body> |
| | | </html> |