middleman/middleman-core/fixtures/i18n-force-locale/config.rb
2014-01-03 15:49:54 -08:00

12 lines
326 B
Ruby

[:en, :es].each do |locale|
proxy "/#{locale}/index.html", "index.html", :ignore => true, :lang => locale
end
proxy "/fr/index.html", "index.html", :lang => :fr
activate :i18n
# This is what breaks i18n, just because it adds a resource list manipulator that
# forces a rebuild of the resource list.
activate :asset_hash