mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
Update partialCached.md
This commit is contained in:
committed by
GitHub
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.
|
||||
|
||||
Reference in New Issue
Block a user