From a303d8404450210b369ebb4d5d365e5e9eec06c5 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 8 Mar 2021 23:22:33 -0600 Subject: [PATCH] Add margin between posts on home page --- sass/style.scss | 4 ++++ templates/index.html | 2 ++ 2 files changed, 6 insertions(+) diff --git a/sass/style.scss b/sass/style.scss index ec8e01a..b1150d3 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -114,6 +114,10 @@ main.main-content { text-decoration: none; } +.recent-posts .post-summary { + margin-bottom: 2.5em; +} + .post-date { font-size: 10pt; } diff --git a/templates/index.html b/templates/index.html index cee0169..84f13c0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -16,6 +16,7 @@

Recent Posts

{% set blog = get_section(path="blog/_index.md") %} {% for page in blog.pages | slice(end=3) %} +

{{ page.title }}

{% endfor %}