add base pages

This commit is contained in:
jackyzha0
2021-07-18 11:54:00 -04:00
parent c01138a81c
commit ea69050587
22 changed files with 365 additions and 16 deletions

View File

@ -8,6 +8,12 @@
{{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" .}}