Added .xhtml
Fixes pretty U.R.L.s for xhtml files
This commit is contained in:
parent
8425692b86
commit
d461473f81
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue