mirror of
https://github.com/olivierlacan/keep-a-changelog.git
synced 2025-07-30 17:24:25 +02:00
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
|
margin: 0 0.5em
|
||||||
padding: 1em
|
padding: 1em
|
||||||
overflow-x: auto
|
overflow-x: auto
|
||||||
|
|
||||||
|
.locales li
|
||||||
|
display: inline
|
||||||
|
list-style-type: none
|
||||||
|
padding-right: 20px
|
||||||
|
@ -29,8 +29,15 @@
|
|||||||
|
|
||||||
%body
|
%body
|
||||||
%article
|
%article
|
||||||
= yield
|
%header{role: "banner"}
|
||||||
%footer.clearfix
|
%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
|
%p.license
|
||||||
This project is
|
This project is
|
||||||
#{link_to "MIT Licensed", "http://choosealicense.com/licenses/mit/"}.
|
#{link_to "MIT Licensed", "http://choosealicense.com/licenses/mit/"}.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user