diff --git a/layouts/index.html b/layouts/index.html index 94e632f..6173c5b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -27,7 +27,7 @@ {{ end }} -
+
{{ $nbPosts := len (where .Data.Pages "Params.best" true) }} {{ if gt $nbPosts 0 }}
Best posts
diff --git a/static/css/main.css b/static/css/main.css index 1aa0e80..5770fcd 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -370,9 +370,6 @@ section.header nav ul li:hover { color: #333333; } } -section.footer { - margin-top: -2em; -} section.footer .container { -webkit-align-items: center; -moz-align-items: center; @@ -421,7 +418,6 @@ section.footer .container .icons { } @media (min-width: 600px) { section.footer { - margin-top: -1em; background-color: transparent; } section.footer .container { @@ -631,6 +627,7 @@ section.main .container .content .post-item { padding-bottom: 60px; } section.footer { + padding-top: 30px; padding-bottom: 60px; } section.main {