15 lines
361 B
HTML
15 lines
361 B
HTML
{{ define "main" }}
|
|
<article class="content">
|
|
<div class="title">
|
|
<h1>{{ .Title }}</h1>
|
|
</div>
|
|
|
|
{{ if .Date }}
|
|
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
|
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
|
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
|
{{ end }}
|
|
|
|
{{ .Content }}
|
|
</article>
|
|
{{ end }}
|