Remove the now superflous defaultExtension

And some other unsed fields and methods.
This commit is contained in:
Bjørn Erik Pedersen
2017-03-25 16:09:56 +01:00
parent 15b64d51da
commit ee75e2999b
12 changed files with 4 additions and 88 deletions

View File

@@ -1958,13 +1958,6 @@ func (s *Site) publish(path string, r io.Reader) (err error) {
return helpers.WriteToDisk(path, r, s.Fs.Destination)
}
func (s *Site) langDir() string {
if s.Language.Lang != s.Info.multilingual.DefaultLang.Lang || s.Info.defaultContentLanguageInSubdir {
return s.Language.Lang
}
return ""
}
func (s *Site) draftStats() string {
var msg string