mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-28 22:01:43 -05:00
tpl/partials: Add some more partials to BenchmarkIncludeCached
This commit is contained in:
parent
c061b253a4
commit
667f3a4ba8
1 changed files with 7 additions and 0 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue