Merge pull request #1847 from FearGoidte/master

Added .xhtml
feature/manifest
Thomas Reynolds 2016-03-21 12:02:19 -07:00
commit 0df7f0d6ac
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class Middleman::Extensions::DirectoryIndexes < ::Middleman::Extension
index_file = app.config[:index_file]
new_index_path = "/#{index_file}"
extensions = %w(.htm .html .php)
extensions = %w(.htm .html .php .xhtml)
resources.each do |resource|
# Check if it would be pointless to reroute