mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Make the check command work in multilingual mode
Or: some more multilingual TODO-fixes. See #2309
This commit is contained in:
@@ -601,14 +601,6 @@ func (s *Site) reBuild(events []fsnotify.Event) (bool, error) {
|
||||
|
||||
}
|
||||
|
||||
// TODO(bep) ml
|
||||
func (s *Site) Analyze() error {
|
||||
if err := s.preProcess(BuildCfg{}); err != nil {
|
||||
return err
|
||||
}
|
||||
return s.ShowPlan(os.Stdout)
|
||||
}
|
||||
|
||||
func (s *Site) loadTemplates() {
|
||||
s.Tmpl = tpl.InitializeT()
|
||||
s.Tmpl.LoadTemplates(s.absLayoutDir())
|
||||
|
Reference in New Issue
Block a user