{{ define "main" }}

{{ .Title }}

{{ with .Date }}Published on {{. | time.Format "2006-01-02" }}{{ end }} {{ if (gt .Lastmod .Date) }}| Last modified on {{.Lastmod | time.Format "2006-01-02" }} {{ end }}
{{ if .Params.tldr }}
{{.Params.tldr|markdownify}}
{{ end }} {{ if .Params.toc }}
{{ end }}{{ .Content }} {{ end }}