Update Sitemap source_dotfiles to support .nojekyll file

This commit is contained in:
Arron Mabrey 2013-06-30 18:46:39 -04:00
parent 00d6a78872
commit 44e5ff3f6c

View file

@ -33,7 +33,7 @@ module Middleman
# Files starting with an dot, but not .htaccess
:source_dotfiles => proc { |file|
file =~ %r{/\.} && file !~ %r{/\.ht(access|passwd)}
file =~ %r{/\.} && file !~ %r{/\.(htaccess|htpasswd|nojekyll)}
},
# Files starting with an underscore, but not a double-underscore