holy/layouts/_default/single.html

18 lines
563 B
HTML
Raw Normal View History

2022-04-05 21:31:50 +00:00
{{ define "main" }}
2022-05-09 10:25:13 +00:00
<article class="box:border-box pt:32">
2022-04-11 17:33:41 +00:00
<header class="mb:32">
2022-04-07 20:15:42 +00:00
<div class="font:40 font:extrabold">{{ .Title }}</div>
2022-05-10 06:19:12 +00:00
<div class="mt:16 f:fade-60">
2022-04-05 21:31:50 +00:00
{{- if isset .Params "date" -}}
{{ if eq .Lastmod .Date }}
2022-04-07 20:15:42 +00:00
<time>{{ .Date | time.Format (":date_medium") }}</time>
2022-04-05 21:31:50 +00:00
{{ else }}
2022-04-07 20:15:42 +00:00
<time>{{ .Lastmod | time.Format (":date_medium") }}</time>
2022-04-05 21:31:50 +00:00
{{ end }}
{{- end -}}
</div>
</header>
2022-04-12 19:01:56 +00:00
{{- partial "prose.html" . -}}
2022-04-05 21:31:50 +00:00
</article>
2024-04-13 10:31:46 +00:00
{{ end }}