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/article-header.html | 44 +----------------------------------- 1 file changed, 1 insertion(+), 43 deletions(-) (limited to 'layouts/partials/article-header.html') diff --git a/layouts/partials/article-header.html b/layouts/partials/article-header.html index 55f6af1..abc7689 100644 --- a/layouts/partials/article-header.html +++ b/layouts/partials/article-header.html @@ -3,7 +3,7 @@ {{ $typeData := index $typeConfig $articleType }} {{ $hasType := .Params.type }} -
+
@@ -26,46 +26,4 @@ {{ .Title }}
- - -
- - {{ if .PublishDate }} -
- - -
- {{ end }} - - - {{ if .Lastmod }} - {{ $lastmodDate := .Lastmod.Format "2006-01-02" }} - {{ $pubDate := .PublishDate.Format "2006-01-02" }} - {{ if ne $lastmodDate $pubDate }} -
- - -
- {{ end }} - {{ end }} - - - {{ if .Site.Params.readingTime }} -
- - {{ .ReadingTime }} {{ i18n "min" }} {{ i18n "readingTime" }} -
- {{ end }} - - - {{ if and $typeData $hasType }} - - {{ i18n $articleType }} - - {{ end }} -
-- cgit v1.2.3