summaryrefslogtreecommitdiffstats
path: root/layouts/articles
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/articles')
-rw-r--r--layouts/articles/page.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/layouts/articles/page.html b/layouts/articles/page.html
index f56c8ea..357cc9f 100644
--- a/layouts/articles/page.html
+++ b/layouts/articles/page.html
@@ -1,6 +1,16 @@
{{ define "main" }}
- {{ partial "articles/header.html" . }}
+ <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>
{{ .Content }}
{{ partial "assets" .Params.Assets }}
- {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
{{ end }}