create/skeletons/theme/layouts/page.html
raw| 1 | {{ define "main" }} |
| 2 | <h1>{{ .Title }}</h1> |
| 3 | |
| 4 | {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} |
| 5 | {{ $dateHuman := .Date | time.Format ":date_long" }} |
| 6 | <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time> |
| 7 | |
| 8 | {{ .Content }} |
| 9 | {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} |
| 10 | {{ end }} |