enable last modified info

This commit is contained in:
Jacky Zhao
2021-12-27 17:28:53 -05:00
parent 64596c3742
commit 8b1cc8ffc1
5 changed files with 25 additions and 13 deletions

View File

@ -14,6 +14,9 @@
</header>
<article>
{{if .Title}}<h1>{{ .Title }}</h1>{{end}}
<p class="meta">
Last updated {{ .Lastmod.Format "January 2, 2006" }}
</p>
{{if $.Site.Data.config.enableToc}}
<aside class="mainTOC">
<h3>Table of Contents</h3>
@ -21,6 +24,7 @@
</aside>
{{end}}
{{.Content}}
</article>
{{partial "footer.html" .}}
</div>