Add locale links to the header and some ARIA roles.

This commit is contained in:
Nathaniel Bibler 2015-10-24 00:40:49 -04:00
parent 5cbdb0119f
commit a90e252a18
2 changed files with 14 additions and 2 deletions

View File

@ -107,3 +107,8 @@ footer
margin: 0 0.5em
padding: 1em
overflow-x: auto
.locales li
display: inline
list-style-type: none
padding-right: 20px

View File

@ -29,8 +29,15 @@
%body
%article
= yield
%footer.clearfix
%header{role: "banner"}
%nav.locales{role: "navigation"}
%ul
%li= link_to 'engish [en]', '/'
%li= link_to 'pyccкий [ru]', '/ru'
.main{role: "main"}= yield
%footer.clearfix{role: "banner"}
%p.license
This project is
#{link_to "MIT Licensed", "http://choosealicense.com/licenses/mit/"}.