1
0
Fork 0
faulty.equipment/themes/fesite/layouts/_default/single.html
Hamcha 5be237d554
All checks were successful
continuous-integration/drone/push Build is passing
colors!
2023-09-12 13:05:38 +02:00

13 lines
434 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.tldr }}
<div class="tldr">{{.Params.tldr|markdownify}}</div>
{{ end }} {{ if .Params.toc }}
<div class="toc">
<aside>{{ .TableOfContents }}</aside>
</div>
{{ end }}{{ .Content }} {{ end }}