We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fae4fba commit d452e06Copy full SHA for d452e06
source/layouts/layout.erb
@@ -9,6 +9,11 @@
9
<link href="<%= asset_url('stylesheets/style.css') %>" rel="stylesheet">
10
<script src="//use.typekit.net/vvs3qav.js"></script>
11
<script>try{Typekit.load();}catch(e){}</script>
12
+ <script>
13
+ if (location.host != "berlincodeofconduct.org" && location.host != "localhost") {
14
+ location.href = "http://berlincodeofconduct.org/<%= "#{I18n.locale}/" unless I18n.locale == :en %>";
15
+ }
16
+ </script>
17
</head>
18
<body class="layout">
19
<div class="layout--container">
0 commit comments