feat: add errorHandler if resource could not be loaded

- Fixes #7
- Fixes #6
- Add "errorHandler" config key
- Add the following error-handlers:
  - `warning`: prints warning if resource not found under 'assets'
  - `warning-remote`: prints warning, but tries RemoteGet as alternative
  - `error`: prints error if resource not found, fails build
This commit is contained in:
kdevo
2022-09-25 18:11:21 +02:00
parent f8df703cfd
commit 72183e14a3
7 changed files with 54 additions and 22 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
_vendor/
resources/
public/
public/
.hugo_build.lock