From f60c62263caf5a76129f73a7653c85272dea0ca0 Mon Sep 17 00:00:00 2001 From: Sean Perry Date: Fri, 10 Jan 2025 18:52:42 -0800 Subject: [PATCH] feat: fix archive_styling (#256) --- _layouts/archive.html | 8 ++++---- _layouts/home.html | 2 +- _sass/minima/_base.scss | 3 +++ _sass/minima/_home.scss | 3 ++- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/_layouts/archive.html b/_layouts/archive.html index d11d3c20..8a4f4a7a 100644 --- a/_layouts/archive.html +++ b/_layouts/archive.html @@ -1,15 +1,15 @@ --- layout: default --- -
-
+
+

Archive of posts from {{ page.date | date: "%Y" }}

-
+
{% assign years = site.posts | group_by_exp: "post", "post.date | date: '%Y'" diff --git a/_layouts/home.html b/_layouts/home.html index 6db58b34..0be42b0d 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -82,7 +82,7 @@

subscribe via RSS

diff --git a/_sass/minima/_base.scss b/_sass/minima/_base.scss index e293c61d..1ed9b559 100644 --- a/_sass/minima/_base.scss +++ b/_sass/minima/_base.scss @@ -276,3 +276,6 @@ table { } +.archive-link{ + font-size: 2em; +} \ No newline at end of file diff --git a/_sass/minima/_home.scss b/_sass/minima/_home.scss index 50467049..a174a979 100644 --- a/_sass/minima/_home.scss +++ b/_sass/minima/_home.scss @@ -153,6 +153,7 @@ } .archive-posts { + display: inline-block; padding: 10px; } @@ -162,5 +163,5 @@ } .archive-image{ - margin-bottom: 20px + margin-bottom: 1px } \ No newline at end of file