diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-01-21 17:34:37 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-01-21 17:34:37 -0500 |
| commit | 8f0a341644fb0d9575b5429ca6193609a4d12d02 (patch) | |
| tree | e968bb900ff92ebdeda8a7fa98287bd627c08fc9 /layouts/articles | |
| parent | 7e971e862a43361ec77c3b2c7a4345dd9e771784 (diff) | |
| download | samanthony.xyz-8f0a341644fb0d9575b5429ca6193609a4d12d02.zip | |
tags
Diffstat (limited to 'layouts/articles')
| -rw-r--r-- | layouts/articles/page.html | 14 |
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 -}} + — 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 }} |