hugo/common
Bjørn Erik Pedersen 2dbdf38a54 resources: Add key to reources.GetRemote options map
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
2022-04-13 09:18:17 +02:00
..
collections
constants
herrors
hexec
hreflect
htime
hugio
hugo releaser: Prepare repository for 0.97.0-DEV 2022-03-26 09:53:13 +00:00
loggers
maps resources: Add key to reources.GetRemote options map 2022-04-13 09:18:17 +02:00
math
para
paths Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
terminal
text
types resources: Create a common ResourceFinder interface 2022-04-05 18:00:44 +02:00
urls