mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
Remove the now superflous defaultExtension
And some other unsed fields and methods.
This commit is contained in:
@@ -439,9 +439,6 @@ func isBackupFile(path string) bool {
|
||||
|
||||
const baseFileBase = "baseof"
|
||||
|
||||
var aceTemplateInnerMarkers = [][]byte{[]byte("= content")}
|
||||
var goTemplateInnerMarkers = [][]byte{[]byte("{{define"), []byte("{{ define")}
|
||||
|
||||
func isBaseTemplate(path string) bool {
|
||||
return strings.Contains(path, baseFileBase)
|
||||
}
|
||||
|
Reference in New Issue
Block a user