mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 01:24:57 -04:00
Update partialCached.md
This commit is contained in:
parent
af4b7ac5b4
commit
138782808d
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user