Skip to content

Commit c396665

Browse files
committed
Sorry of course I forgot to take the structure into account
This reverts commit c11a851. * will stay as is for now, although it sucks a bit locally :( * and of course I just pushed it to gh-pages and did not to master
1 parent 79fa36e commit c396665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/localizable/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<header class="layout--header">
22
<nav class="locales">
33
<% settings.displayed_languages.each do |locale| %>
4-
<% url = locale == :en ? './' : "#{locale}" %>
4+
<% url = locale == :en ? '/code-of-conduct/' : "/code-of-conduct/#{locale}" %>
55
<% css_class = "locales--link#{' -selected' if locale == I18n.locale}" %>
66
<%= link_to locale.to_s.upcase, url, class: css_class %>
77
<% end %>

0 commit comments

Comments
 (0)