mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
Remove the now superflous defaultExtension
And some other unsed fields and methods.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user