diff --git a/layouts/partials/related.html b/layouts/partials/related.html index 5e6478c..817047b 100644 --- a/layouts/partials/related.html +++ b/layouts/partials/related.html @@ -1,6 +1,6 @@ {{ if isset .Params "series" }} {{$related := where .Site.RegularPages ".Params.series" "eq" .Params.series }} -{{- $relatedLimit := default 8 .Params.numberOfRelatedPosts }} +{{- $relatedLimit := default 8 .Site.Params.numberOfRelatedPosts }}

{{ T "series_posts" }} {{ .Params.series }}