mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 03:01:02 +00:00
2dbdf38a54
If set, `key` will be used as the only cache key element for the resource. The default behaviour is to calculate the key based on the URL and all the options. This means that you can now do: ``` {{ $cacheKey := print $url (now.Format "2006-01-02") }} {{ $resource := resource.GetRemote $url (dict "key" $cacheKey) }} ``` Fixes #9755 |
||
---|---|---|
.. | ||
bundler | ||
create |