Merge branch 'master' of github.com:middleman/middleman
This commit is contained in:
commit
dd2525c18e
3 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ Feature: Directory Index
|
||||||
| regular/index.html |
|
| regular/index.html |
|
||||||
| .htaccess |
|
| .htaccess |
|
||||||
| .htpasswd |
|
| .htpasswd |
|
||||||
|
| .nojekyll |
|
||||||
Then the following files should not exist:
|
Then the following files should not exist:
|
||||||
| egular/index/index.html |
|
| egular/index/index.html |
|
||||||
| needs_index.html |
|
| needs_index.html |
|
||||||
|
|
0
middleman-core/fixtures/indexable-app/source/.nojekyll
Normal file
0
middleman-core/fixtures/indexable-app/source/.nojekyll
Normal file
|
@ -33,7 +33,7 @@ module Middleman
|
||||||
|
|
||||||
# Files starting with an dot, but not .htaccess
|
# Files starting with an dot, but not .htaccess
|
||||||
:source_dotfiles => proc { |file|
|
: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
|
# Files starting with an underscore, but not a double-underscore
|
||||||
|
|
Loading…
Add table
Reference in a new issue