single.html (313B)
1 {{ define "main" }} 2 <article class="prose"> 3 <header style="margin-bottom: 2rem;"> 4 <h1>{{ .Title }}</h1> 5 {{ if .Date }} 6 <time style="color: var(--muted); font-size: 14px; font-family: var(--sans);">{{ .Date.Format "02/01/2006" }}</time> 7 {{ end }} 8 </header> 9 {{ .Content }} 10 </article> 11 {{ end }}