mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
@@ -27,6 +27,11 @@ type Info interface {
|
||||
identity.Provider
|
||||
}
|
||||
|
||||
type FileInfo interface {
|
||||
Name() string
|
||||
Filename() string
|
||||
}
|
||||
|
||||
type InfoManager interface {
|
||||
ParseInfo() ParseInfo
|
||||
|
||||
@@ -65,10 +70,6 @@ func (info ParseInfo) IsZero() bool {
|
||||
return info.Config.Version == 0
|
||||
}
|
||||
|
||||
// Info holds some info extracted from a parsed template.
|
||||
type Info1 struct {
|
||||
}
|
||||
|
||||
type ParseConfig struct {
|
||||
Version int
|
||||
}
|
||||
|
Reference in New Issue
Block a user