mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Deprecate sourceRelativeLinks
Fixes #3028 Closes #3026 Closes #2891 Closes #2691
This commit is contained in:
@@ -291,7 +291,7 @@ func (s *SiteInfo) Param(key interface{}) (interface{}, error) {
|
||||
|
||||
// GetParam gets a site parameter value if found, nil if not.
|
||||
func (s *SiteInfo) GetParam(key string) interface{} {
|
||||
helpers.Deprecated("SiteInfo", ".GetParam", ".Param", true)
|
||||
helpers.Deprecated("SiteInfo", ".GetParam", "Use .Param", true)
|
||||
v := s.Params[strings.ToLower(key)]
|
||||
|
||||
if v == nil {
|
||||
|
Reference in New Issue
Block a user