mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Handle transient errors in config loading etc.
As in: Get the Kubernetes site to build with the new Hugo version. Updates #10947
This commit is contained in:
@@ -431,7 +431,7 @@ func (s *Site) GoogleAnalytics() string {
|
||||
return s.Config().Services.GoogleAnalytics.ID
|
||||
}
|
||||
|
||||
func (s *Site) Param(key string) (any, error) {
|
||||
func (s *Site) Param(key any) (any, error) {
|
||||
return resource.Param(s, nil, key)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user