mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
Also ignore Emacs lock & recovery files.
This commit is contained in:
@@ -122,6 +122,10 @@ func ignoreDotFile(filePath string) bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if base[0] == '#' {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
if base[len(base)-1] == '~' {
|
if base[len(base)-1] == '~' {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user