Update partialCached.md

This commit is contained in:
Bjørn Erik Pedersen authored and GitHub committed 2019-12-20 12:36:03 +01:00
1 parent af4b7ac5b4
commit 138782808d
1 file changed
+1 -1
+1 -1
View File
@@ -42,4 +42,4 @@ If you need to pass additional parameters to create unique variants, you can pas
{{ partialCached "footer.html" . .Params.country .Params.province }} {{ partialCached "footer.html" . .Params.country .Params.province }}
``` ```
Note that the variant parameters are not made available to the underlying partial template. They are only use to create a unique cache key. Note that the variant parameters are not made available to the underlying partial template. They are only use to create a unique cache key. Since Hugo `0.61.0` you can use any object as cache key(s), not just strings.