shithub: hugo

Download patch

ref: d84f707da1d46b7334ff10db2443ac17a17bbff2
parent: 3a0ab5a3ddc4b8a83fce6f390be70aaa6f2cb82d
author: Joe Kopena <[email protected]>
date: Mon Mar 3 11:55:28 EST 2014

Also ignore Emacs lock & recovery files.

--- a/source/filesystem.go
+++ b/source/filesystem.go
@@ -122,6 +122,10 @@
 		return true
 	}
 
+	if base[0] == '#' {
+		return true
+	}
+
 	if base[len(base)-1] == '~' {
 		return true
 	}