mirror of
https://github.com/falsycat/ar.falsy.cat.git
synced 2024-12-27 08:54:51 +00:00
30 lines
612 B
HTML
30 lines
612 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
{{ partial "head.html" . }}
|
|
|
|
<body>
|
|
<div class="singlePage">
|
|
<!-- Begin actual content -->
|
|
{{partial "darkmode.html" .}}
|
|
<article>
|
|
{{if .Title}}<h1>{{ .Title }}</h1>{{end}}
|
|
{{if $.Site.Data.config.enableToc}}
|
|
<aside class="mainTOC">
|
|
<h3>Table of Contents</h3>
|
|
{{ .TableOfContents }}
|
|
</aside>
|
|
{{end}}
|
|
{{- .Content -}}
|
|
</article>
|
|
{{partial "footer.html" .}}
|
|
</div>
|
|
|
|
{{- with resources.Get "darkmode.js" | minify -}}
|
|
<script>
|
|
{{.Content | safeJS }}
|
|
</script>
|
|
{{- end -}}
|
|
|
|
</body>
|
|
|
|
</html> |