mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 09:45:05 -04:00
tpl/partials: Add some more partials to BenchmarkIncludeCached
This commit is contained in:
parent
c061b253a4
commit
667f3a4ba8
@ -167,6 +167,13 @@ baseURL = 'http://example.com/'
|
|||||||
-- layouts/index.html --
|
-- layouts/index.html --
|
||||||
-- layouts/_default/single.html --
|
-- layouts/_default/single.html --
|
||||||
{{ partialCached "heavy.html" "foo" }}
|
{{ 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 --
|
-- layouts/partials/heavy.html --
|
||||||
{{ $result := slice }}
|
{{ $result := slice }}
|
||||||
{{ range site.RegularPages }}
|
{{ range site.RegularPages }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user