From 0afec0a9f4aace1f5f4af6822aeda6223ee3e3a9 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Tue, 21 Feb 2023 11:06:29 +0100 Subject: related: Adjust benchmark To make it easier to compare. --- related/integration_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'related') diff --git a/related/integration_test.go b/related/integration_test.go index ba9eba71c..31af01614 100644 --- a/related/integration_test.go +++ b/related/integration_test.go @@ -34,6 +34,9 @@ disableKinds = ["taxonomy", "term", "RSS", "sitemap", "robotsTXT"] name = 'keywords' weight = 70 -- layouts/_default/single.html -- +{{ range site.RegularPages }} +{{ $tmp := .WordCount }} +{{ end }} Len related: {{ site.RegularPages.Related . | len }} ` -- cgit v1.2.3