From 46cefbb27e2b0954c3a8c695354ede751847c4e7 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 29 Apr 2026 11:44:14 +0200 Subject: feat: consolidate article metadata into sidebar widget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove publication date, lastmod, reading time, and type badge from article header. Header now shows title + type-colored accent lines only. Move publication and lastmod dates to sidebar stats widget, between author and word count. Reading time and type badge already in sidebar — no duplication needed. Removes orphaned bottom border and padding from header outer div. --- layouts/partials/sidebar.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'layouts/partials/sidebar.html') diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 483e90b..5562215 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -17,6 +17,26 @@ {{ .Site.Params.author }} + {{ if .PublishDate }} +
  • + + +
  • + {{ end }} + {{ if .Lastmod }} + {{ $lastmodDate := .Lastmod.Format "2006-01-02" }} + {{ $pubDate := .PublishDate.Format "2006-01-02" }} + {{ if ne $lastmodDate $pubDate }} +
  • + + +
  • + {{ end }} + {{ end }}
  • {{ .WordCount }} {{ i18n "words" }} -- cgit v1.2.3