middleman/middleman-core/fixtures/i18n-v3-force-locale/config.rb

12 lines
329 B
Ruby
Raw Normal View History

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