allow partials throughout the project, not jsut partials file
This commit is contained in:
parent
b3834bf559
commit
13b3e9e42b
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ func writePartialsFile() {
|
||||||
config := dirutil.GetConfig()
|
config := dirutil.GetConfig()
|
||||||
|
|
||||||
cwd := process.GetWorkingDir()
|
cwd := process.GetWorkingDir()
|
||||||
partialPath := filepath.Join(cwd, "partials")
|
partialPath := filepath.Join(cwd)
|
||||||
partials, err := findPublicFuncsReturningHPartial(partialPath, func(partial Partial) bool {
|
partials, err := findPublicFuncsReturningHPartial(partialPath, func(partial Partial) bool {
|
||||||
return partial.FuncName != "GetPartialFromContext"
|
return partial.FuncName != "GetPartialFromContext"
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue