diff --git a/config.rb b/config.rb index 4b2d45e..a053fa5 100644 --- a/config.rb +++ b/config.rb @@ -4,7 +4,7 @@ # ----- Site ----- # -activate :i18n, langs: [:en, 'pt-BR', :ru], :mount_at_root => :en +activate :i18n, langs: [:en, 'es-ES', 'pt-BR', :ru], :mount_at_root => :en set :gauges_id, '' set :publisher_url, 'https://www.facebook.com/olivier.lacan.5' set :site_url, 'http://keepachangelog.com' diff --git a/source/layouts/layout.haml b/source/layouts/layout.haml index dd7a57e..03570e6 100644 --- a/source/layouts/layout.haml +++ b/source/layouts/layout.haml @@ -32,6 +32,7 @@ %nav.locales{role: "navigation"} %ul %li= link_to 'english [en]', '/', {rel: "alternate", lang: "en", hreflang: "en"} + %li= link_to 'español [es-ES]', '/es-ES/', {rel: "alternate", lang: "es-ES", hreflang: "es-ES"} %li= link_to 'português brasileiro [pt-BR]', '/pt-BR/', {rel: "alternate", lang: "pt-BR", hreflang: "pt-BR"} %li= link_to 'pyccкий [ru]', '/ru/', {rel: "alternate", lang: "ru", hreflang: "ru"}