From 94070f4cd97f37884a6fa0ac45386787c92b4355 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 29 Sep 2020 15:54:39 +0530 Subject: [PATCH] archives: add posts count for each yr and month * misc(css): rm unused --- assets/css/archive.css | 11 ++++++----- layouts/_default/archives.html | 6 ++++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/assets/css/archive.css b/assets/css/archive.css index 4c9e66b6..ff711057 100644 --- a/assets/css/archive.css +++ b/assets/css/archive.css @@ -9,12 +9,8 @@ margin-top: 40px; } -.archive-year-header:not(:last-of-type) { - border-bottom: 1px solid var(--border); -} - .archive-year:not(:last-of-type) { - border-bottom: 1px solid var(--border); + border-bottom: 2px solid var(--border); } .archive-month { @@ -48,6 +44,11 @@ font-size: 14px; } +.archive-count { + color: var(--secondary); + font-size: 14px; +} + @media (max-width: 800px) { .archive-month { flex-direction: column; diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index 9e32c764..ce0c153b 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -8,10 +8,12 @@ {{- range $pages.GroupByPublishDate "2006" }} {{- if ne .Key "0001" }}