mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
parent
8731d88222
commit
6cd0784e44
33 changed files with 1033 additions and 148 deletions
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue