From 138782808dcb8107d696d0b1f547bf9e686e1640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 20 Dec 2019 12:36:03 +0100 Subject: [PATCH] Update partialCached.md --- content/en/functions/partialCached.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/functions/partialCached.md b/content/en/functions/partialCached.md index 7becea24b..ea5a2b435 100644 --- a/content/en/functions/partialCached.md +++ b/content/en/functions/partialCached.md @@ -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.