Add locale links to the header and some ARIA roles.
This commit is contained in:
parent
5cbdb0119f
commit
a90e252a18
|
@ -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
|
||||
|
|
|
@ -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/"}.
|
||||
|
|
Loading…
Reference in New Issue