mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-30 19:10:47 +00:00
11 lines
325 B
HTML
11 lines
325 B
HTML
|
{{ define "main" }}
|
||
|
<h1>{{ .Title }}</h1>
|
||
|
|
||
|
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||
|
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
||
|
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||
|
|
||
|
{{ .Content }}
|
||
|
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||
|
{{ end }}
|