11 lines
350 B
HTML
11 lines
350 B
HTML
{{ define "main" }}
|
|
<h1>{{ .Title }}</h1>
|
|
<section class="meta">
|
|
Published on {{.Date | time.Format "2006-01-02" }} {{ if (gt .Lastmod .Date)
|
|
}}| Last modified on {{.Lastmod | time.Format "2006-01-02" }} {{ end }}
|
|
</section>
|
|
{{ if .Params.toc }}
|
|
<div class="toc">
|
|
<aside>{{ .TableOfContents }}</aside>
|
|
</div>
|
|
{{ end }} {{ .Content }} {{ end }}
|