21 lines
703 B
HTML
21 lines
703 B
HTML
{{ define "main" }}
|
|
<article class="box:border-box">
|
|
<header class="mb:32">
|
|
<div class="font:40 font:extrabold">{{ .Title }}</div>
|
|
{{ with resources.GetMatch .Params.banner }}
|
|
<img class="mt:16" src="{{ .RelPermalink }}" width="{{ .Width }}">
|
|
{{ end }}
|
|
<div class="mt:16 f:fade-60">
|
|
{{- if isset .Params "date" -}}
|
|
{{ if eq .Lastmod .Date }}
|
|
<time>{{ .Date | time.Format (":date_medium") }}</time>
|
|
{{ else }}
|
|
<time>{{ .Lastmod | time.Format (":date_medium") }}</time>
|
|
{{ end }}
|
|
{{- end -}}
|
|
</div>
|
|
</header>
|
|
{{- partial "prose.html" . -}}
|
|
</article>
|
|
{{ end }}
|