hugo/common/types/hstring
Bjørn Erik Pedersen e58a540895 resources: Create a common ResourceFinder interface
And make both .Resources and resources implement it.

This gets us 2 new methods/functions, so you can now also do:

* .Resources.Get
* resources.ByType

Note that GetRemote is not covered by this interface, as that is only available as a global template function.

Fixes #8653
2022-04-05 18:00:44 +02:00
..
stringtypes.go Fail with error when double-rendering text in markdownify/RenderString 2022-03-10 08:19:03 +01:00
stringtypes_test.go resources: Create a common ResourceFinder interface 2022-04-05 18:00:44 +02:00