summaryrefslogtreecommitdiff
path: root/amber/layouts/home.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'amber/layouts/home.html.haml')
-rw-r--r--amber/layouts/home.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/amber/layouts/home.html.haml b/amber/layouts/home.html.haml
index a8c76fa..f6df041 100644
--- a/amber/layouts/home.html.haml
+++ b/amber/layouts/home.html.haml
@@ -15,6 +15,12 @@
#masthead
= render 'layouts/masthead'
#main
+ .container
+ .row
+ .col-sm-12
+ .locale-links
+ - available_languages.each do |name, code, url|
+ %a.label{:href => url, :class => (I18n.locale == code ? 'label-primary' : '')}= name
.dark
.container
.row