diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5f466c9..c9a53af 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -23,8 +23,8 @@ {{ $readNextPosts := 3}} - {{ if isset .Site.Params "readNextPosts" }} - {{ $readNextPosts := .Site.Params.readNextPosts }} + {{ if isset .Site.Params "readnextposts" }} + {{ $readNextPosts = .Site.Params.readNextPosts }} {{ end }} {{ if gt $readNextPosts 0 }}