Added .xhtml

Fixes pretty U.R.L.s for xhtml files
feature/manifest
FearGoidte 2016-03-21 15:19:36 +00:00
parent 8425692b86
commit d461473f81
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