From c3af040dc95fa73246028631f5cf86d4dc6aa477 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Mon, 12 Apr 2021 23:07:16 +0200 Subject: [PATCH] cards have only a bottom padding of 25px --- assets/scss/style.scss | 8 +------- layouts/index.html | 2 ++ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/assets/scss/style.scss b/assets/scss/style.scss index 9501f09..a5a27a5 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -239,13 +239,7 @@ h1, h2, h3, h4, h5, h6 { } .card { - margin: 50px 0; - &:first-child { - margin-top: 0; - } - hr { - margin: 50px 0; - } + padding-bottom: 25px; &.discrete { background: $highlight_bg_color; diff --git a/layouts/index.html b/layouts/index.html index b1b84c0..66a6185 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,6 +5,7 @@ {{ $postsList := where .Site.RegularPages "Section" "in" $postsDir }} {{/* pagination */}} +
{{ range (.Paginate $postsList).Pages }}
@@ -35,6 +36,7 @@
{{ end }} +
{{- partial "paginator.html" . -}} {{ end }}