mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
@@ -33,7 +33,7 @@ func (i Item) ValStr() string {
|
||||
return string(i.Val)
|
||||
}
|
||||
|
||||
func (i Item) ValTyped() interface{} {
|
||||
func (i Item) ValTyped() any {
|
||||
str := i.ValStr()
|
||||
if i.isString {
|
||||
// A quoted value that is a string even if it looks like a number etc.
|
||||
|
Reference in New Issue
Block a user