Make the check command work in multilingual mode

Or: some more multilingual TODO-fixes.

See #2309
This commit is contained in:
Bjørn Erik Pedersen
2016-08-08 09:28:02 +02:00
parent 6b552db75f
commit 9798a95670
4 changed files with 19 additions and 16 deletions

View File

@@ -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())