tpl/partials: Add some more partials to BenchmarkIncludeCached

This commit is contained in:
Bjørn Erik Pedersen 2022-02-17 16:45:59 +01:00
parent c061b253a4
commit 667f3a4ba8
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -167,6 +167,13 @@ baseURL = 'http://example.com/'
-- layouts/index.html --
-- layouts/_default/single.html --
{{ partialCached "heavy.html" "foo" }}
{{ partialCached "easy1.html" "bar" }}
{{ partialCached "easy1.html" "baz" }}
{{ partialCached "easy2.html" "baz" }}
-- layouts/partials/easy1.html --
ABCD
-- layouts/partials/easy2.html --
ABCDE
-- layouts/partials/heavy.html --
{{ $result := slice }}
{{ range site.RegularPages }}