aboutsummaryrefslogtreecommitdiffhomepage
path: root/related
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-02-21 11:06:29 +0100
committerBjørn Erik Pedersen <[email protected]>2023-02-21 11:06:29 +0100
commit0afec0a9f4aace1f5f4af6822aeda6223ee3e3a9 (patch)
tree3ce010938e84c6d5a8ac11b32409bc01a7cc8db3 /related
parent28540ed131812988b8e5706f272996f5348005fc (diff)
downloadhugo-0afec0a9f4aace1f5f4af6822aeda6223ee3e3a9.tar.gz
hugo-0afec0a9f4aace1f5f4af6822aeda6223ee3e3a9.zip
related: Adjust benchmark
To make it easier to compare.
Diffstat (limited to 'related')
-rw-r--r--related/integration_test.go3
1 files changed, 3 insertions, 0 deletions
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 }}
`