mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Allow getJSON errors to be ignored
This change is mostly motivated to get a more stable CI build (we're building the Hugo site there, with Instagram and Twitter shortcodes sometimes failing). Fixes #7866
This commit is contained in:
@@ -31,7 +31,7 @@ type ProviderConfig struct {
|
||||
|
||||
Cfg config.Provider // Site config
|
||||
ContentFs afero.Fs
|
||||
Logger *loggers.Logger
|
||||
Logger loggers.Logger
|
||||
Highlight func(code, lang, optsStr string) (string, error)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user