1
0
Fork 0
faulty.equipment/themes/fesite/layouts/_default/single.html

15 lines
457 B
HTML
Raw Normal View History

2022-06-29 09:40:23 +00:00
{{ define "main" }}
<h1>{{ .Title }}</h1>
<section class="meta">
2023-09-14 09:55:12 +00:00
{{ with .Date }}Published on {{. | time.Format "2006-01-02" }}{{ end }} {{ if
(gt .Lastmod .Date) }}| Last modified on {{.Lastmod | time.Format "2006-01-02"
}} {{ end }}
2022-06-29 09:40:23 +00:00
</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 }}