From 1d2aa49658c78cb6da48af7ddd42eec26e4d27ea Mon Sep 17 00:00:00 2001 From: wompmacho Date: Wed, 1 Apr 2026 07:05:28 +0000 Subject: [PATCH] trying new date partial --- layouts/_default/single.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 50cdd0d..18f52fa 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -10,6 +10,16 @@

{{ .Title | emojify }}

{{ partial "article-meta/basic.html" (dict "context" . "scope" "single") }} + + +
+ Published: {{ .Date.Format "Jan 2, 2006" }} + {{ if ne (.Lastmod.Format "2006-01-02") (.Date.Format "2006-01-02") }} + + Last updated: {{ .Lastmod.Format "Jan 2, 2006" }} + + {{ end }} +
{{ if not (.Params.showAuthorBottom | default (site.Params.article.showAuthorBottom | default false)) }} {{ template "SingleAuthor" . }}