From 9e7a11a7578a107b3123f746e750b25cec37e022 Mon Sep 17 00:00:00 2001 From: mathiascode Date: Sat, 30 Nov 2019 02:00:47 +0200 Subject: [PATCH] Increase vertical padding of body --- _includes/style.scss | 2 +- _layouts/home.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/style.scss b/_includes/style.scss index 45523db..70deeeb 100644 --- a/_includes/style.scss +++ b/_includes/style.scss @@ -95,7 +95,7 @@ html { body { display: table-cell; - padding: 1em 5%; + padding: 5%; vertical-align: middle; } diff --git a/_layouts/home.html b/_layouts/home.html index f01b6e4..30b5974 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -24,7 +24,7 @@ layout: default News {% for post in site.posts limit:1 %} - {{ post.content | strip_html | truncatewords: 10 }} + {{ post.content | strip_html | truncatewords: 8 }} {% endfor %}