mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
@@ -21,6 +21,10 @@ type Item struct {
|
||||
Val []byte
|
||||
}
|
||||
|
||||
func (i Item) ValStr() string {
|
||||
return string(i.Val)
|
||||
}
|
||||
|
||||
func (i Item) IsText() bool {
|
||||
return i.typ == tText
|
||||
}
|
||||
|
Reference in New Issue
Block a user