hugo/common
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
..
collections all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
constants Allow getJSON errors to be ignored 2020-10-22 09:09:29 +02:00
herrors all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
hexec all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
hreflect Fix typo 2022-03-22 00:39:33 -06:00
htime all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
hugio Add Markdown diagrams and render hooks for code blocks 2022-02-24 18:59:50 +01:00
hugo releaser: Prepare repository for 0.97.0-DEV 2022-03-26 09:53:13 +00:00
loggers all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
maps all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
math all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
para para: Skip para test when not on CI 2020-12-23 19:47:20 +01:00
paths all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
terminal Fix ANSI character output regression on Windows 2018-11-02 09:09:02 +01:00
text all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
types resources: Create a common ResourceFinder interface 2022-04-05 18:00:44 +02:00
urls all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00