mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
tpl: Warn and skip non-hook templates inside /layouts/_markup
Fixes #13577
This commit is contained in:
@@ -396,6 +396,7 @@ func newHugoSites(cfg deps.DepsCfg, d *deps.Deps, pageTrees *pageTrees, sites []
|
||||
templateStore, err := tplimpl.NewStore(
|
||||
tplimpl.StoreOptions{
|
||||
Fs: s.BaseFs.Layouts.Fs,
|
||||
Log: s.Log,
|
||||
DefaultContentLanguage: s.Conf.DefaultContentLanguage(),
|
||||
Watching: s.Conf.Watching(),
|
||||
PathParser: s.Conf.PathParser(),
|
||||
|
Reference in New Issue
Block a user