Skip to content

Commit

Permalink
tpl/partials: Add some more partials to BenchmarkIncludeCached
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Feb 17, 2022
1 parent c061b25 commit 667f3a4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tpl/partials/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 667f3a4

Please sign in to comment.