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 }} `