mestizo.monster/themes/corazon/layouts/_default/posts.html

10 lines
341 B
HTML

{{ define "main" }}
<article>
<h1>{{ .Title }}</h1>
{{ $dateHuman := .Date.Format "January 2, 2006" }}
{{ $dateMachine := .Date.Format "2006-01-02T15:04:05-07:00" }}
<time datetime="{{ $dateMachine }}">{{ lower $dateHuman }}</time>
{{ .Content }}
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
</article>
{{ end }}