mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
tpl/partials: Add some more partials to BenchmarkIncludeCached
This commit is contained in:
@ -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 }}
|
||||
|
Reference in New Issue
Block a user