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.html25
1 files changed, 13 insertions, 12 deletions
diff --git a/layouts/articles/page.html b/layouts/articles/page.html
index 5fe8cf4..22a1ac4 100644
--- a/layouts/articles/page.html
+++ b/layouts/articles/page.html
@@ -1,15 +1,16 @@
{{ define "main" }}
-<h1 class="title">{{ .Title }}</h1>
-<p>
- {{- partial "date.html" .Date -}}
- {{- if gt .Lastmod .Date -}}
- &mdash; modified {{ partial "date.html" .Lastmod }}
- {{- end -}}
- <br>
- {{- if .Page.GetTerms "tags" }}
- Tags: {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) -}}.
- {{- end }}
-</p>
-<hr>
+<div class="article-header">
+ <h1 class="title">{{ .Title }}</h1>
+ <p>
+ {{- partial "date.html" .Date -}}
+ {{- if gt .Lastmod .Date -}}
+ &mdash; modified {{ partial "date.html" .Lastmod }}
+ {{- end -}}
+ <br>
+ {{- if .Page.GetTerms "tags" }}
+ Tags: {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) -}}.
+ {{- end }}
+ </p>
+</div>
{{ .Content }}
{{ end }}