mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-28 21:31:46 -05:00
related: Adjust benchmark
To make it easier to compare.
This commit is contained in:
parent
28540ed131
commit
0afec0a9f4
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@ disableKinds = ["taxonomy", "term", "RSS", "sitemap", "robotsTXT"]
|
||||||
name = 'keywords'
|
name = 'keywords'
|
||||||
weight = 70
|
weight = 70
|
||||||
-- layouts/_default/single.html --
|
-- layouts/_default/single.html --
|
||||||
|
{{ range site.RegularPages }}
|
||||||
|
{{ $tmp := .WordCount }}
|
||||||
|
{{ end }}
|
||||||
Len related: {{ site.RegularPages.Related . | len }}
|
Len related: {{ site.RegularPages.Related . | len }}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue