summaryrefslogtreecommitdiffstats
path: root/layouts/articles/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/articles/page.html')
-rw-r--r--layouts/articles/page.html8
1 files changed, 1 insertions, 7 deletions
diff --git a/layouts/articles/page.html b/layouts/articles/page.html
index 8b8eb16..e15623e 100644
--- a/layouts/articles/page.html
+++ b/layouts/articles/page.html
@@ -1,11 +1,5 @@
{{ define "main" }}
- {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}}
- {{- $dateHuman := .Date | time.Format "2006-01-02" -}}
- <div>
- <h1 class="title">{{ .Title }}</h1>
- <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
- </div>
-
+ {{ partial "articles/header.html" . }}
{{ .Content }}
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
{{ end }}