mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
@@ -323,6 +323,7 @@ type ComponentPath struct {
|
||||
Component string
|
||||
Path string
|
||||
Lang string
|
||||
Watch bool
|
||||
}
|
||||
|
||||
func (c ComponentPath) ComponentPathJoined() string {
|
||||
@@ -376,6 +377,7 @@ func (fs *RootMappingFs) ReverseLookupComponent(component, filename string) ([]C
|
||||
Component: first.FromBase,
|
||||
Path: paths.ToSlashTrimLeading(filename),
|
||||
Lang: first.Meta.Lang,
|
||||
Watch: first.Meta.Watch,
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user