diff --git a/layouts/index.html b/layouts/index.html index 796cbe3..3480c04 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -20,7 +20,7 @@ {{ end }} - {{ $n_posts := .Site.Params.recent_posts_number | default 3 }} + {{ $n_posts := $.Param "recent_posts_number" | default 3 }}
{{/* Range through the first $n_posts items of the section */}}