diff --git a/layouts/index.html b/layouts/index.html index 6173c5b..e645c72 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -8,24 +8,26 @@ {{ end }} -
- {{ $nbPosts := len (where .Data.Pages "Section" "blog") }} - {{ if gt $nbPosts 0 }} -
Latest posts
- - - {{ if gt $nbPosts .Site.Params.latestpostcount }} - See more ... - {{ end }} +
{{ end }} -
{{ $nbPosts := len (where .Data.Pages "Params.best" true) }}