| | |
| | | {{define "head"}} |
| | | <!DOCTYPE html> |
| | | <html lang="{{ .Lang }}"> |
| | | {{ partial "head.html" . }} |
| | | {{end}} |
| | | |
| | | {{define "main"}} |
| | | <!-- 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> |
| | | |
| | | {{- with resources.Get "darkmode.js" | minify -}} |
| | | <script> |
| | | {{.Content | safeJS }} |
| | | </script> |
| | | {{- end -}} |
| | | {{end}} |
| | | </body> |
| | | </html> |