From 713974f104fd20dcc9a2458869aacee8e02f3fed Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Fri, 17 Dec 2021 14:22:19 -0600 Subject: [PATCH] fix max number of related articles to display to match sidebar --- layouts/partials/related.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}