Update partialCached.md

This commit is contained in:
Bjørn Erik Pedersen
2019-12-20 12:36:03 +01:00
committed by GitHub
parent af4b7ac5b4
commit 138782808d
+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 }}
```
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.