enable last modified info

This commit is contained in:
Jacky Zhao 2021-12-27 17:28:53 -05:00
parent b4e2697116
commit e1911a58ff
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>