From b7673959765898e484cda52b45d72fd43f3331bf Mon Sep 17 00:00:00 2001 From: razonyang Date: Sat, 18 Nov 2023 06:05:42 +0800 Subject: [PATCH] style: tweak article cards section and date --- layouts/partials/bootstrap/article-cards.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/bootstrap/article-cards.html b/layouts/partials/bootstrap/article-cards.html index a90ee00..8cfde71 100644 --- a/layouts/partials/bootstrap/article-cards.html +++ b/layouts/partials/bootstrap/article-cards.html @@ -30,12 +30,12 @@
{{- with .FirstSection }} + class="z-1 badge rounded-1 text-bg-secondary opacity-75 position-absolute fw-normal top-0 start-0 ms-2 mt-2 text-decoration-none"> {{- .Title -}} {{- end }} + class="z-1 badge rounded-1 text-bg-secondary opacity-75 position-absolute fw-normal top-0 end-0 me-2 mt-2"> {{- .Date | time.Format ":date_medium" -}} {{- $img := partial "images/functions/page-thumbnail" (dict