2022-06-29 09:40:23 +00:00
|
|
|
{{ 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>
|
2023-09-12 11:05:38 +00:00
|
|
|
{{ if .Params.tldr }}
|
|
|
|
<div class="tldr">{{.Params.tldr|markdownify}}</div>
|
|
|
|
{{ end }} {{ if .Params.toc }}
|
2023-09-11 15:02:41 +00:00
|
|
|
<div class="toc">
|
|
|
|
<aside>{{ .TableOfContents }}</aside>
|
|
|
|
</div>
|
2023-09-12 11:05:38 +00:00
|
|
|
{{ end }}{{ .Content }} {{ end }}
|