mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
Update partialCached.md
This commit is contained in:
1 parent
af4b7ac5b4
commit
138782808d
1 file changed
+1
-1
@@ -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.
|
||||||
Reference in new issue
Block a user