2021-07-18 20:35:42 +07:00
|
|
|
<!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}}
|
2021-07-18 22:54:00 +07:00
|
|
|
{{if $.Site.Data.config.enableToc}}
|
|
|
|
<aside class="mainTOC">
|
|
|
|
<h3>Table of Contents</h3>
|
|
|
|
{{ .TableOfContents }}
|
|
|
|
</aside>
|
|
|
|
{{end}}
|
2021-07-18 20:35:42 +07:00
|
|
|
{{- .Content -}}
|
|
|
|
</article>
|
|
|
|
{{partial "footer.html" .}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{- with resources.Get "darkmode.js" | minify -}}
|
|
|
|
<script>
|
|
|
|
{{.Content | safeJS }}
|
|
|
|
</script>
|
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|