Fix a bit the style of the footer and best posts

This commit is contained in:
Alexis Tacnet
2017-02-26 00:03:00 +01:00
parent f52e02f88d
commit 6d97f25db2
2 changed files with 2 additions and 5 deletions

View File

@@ -27,7 +27,7 @@
{{ end }}
</div>
<div class="posts">
<div class="best-posts">
{{ $nbPosts := len (where .Data.Pages "Params.best" true) }}
{{ if gt $nbPosts 0 }}
<div class="page-heading">Best posts</div>