Skip to content

Commit

Permalink
Merge pull request #51 from decidim/feature/i18n_redirect
Browse files Browse the repository at this point in the history
Adding redirects on home for i18n autodetecting browser settings - closes #33
  • Loading branch information
Xabier E. Barandiaran authored Oct 7, 2017
2 parents e8d08fe + 1d342d4 commit f2820fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
page '/*.json', layout: false
page '/*.txt', layout: false

proxy "_redirects", "netlify-redirects", ignore: true

# Blog
activate :blog do |blog|
# This will add a prefix to all links, template references and source paths
Expand Down
2 changes: 2 additions & 0 deletions source/netlify-redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/ /es 302 Language=es
/ /ca 302 Language=ca

0 comments on commit f2820fc

Please sign in to comment.