This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Use default locale for html lang in layouts (
#2212
)
closed-social-glitch-2
Matt Jankowski
7 years ago
committed by
Eugen
parent
7f8044d913
commit
598d3defd5
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/views/layouts/application.html.haml
+1
-1
app/views/layouts/embedded.html.haml
+1
-1
app/views/layouts/error.html.haml
+ 1
- 1
app/views/layouts/application.html.haml
View File
@ -1,5 +1,5 @@
!!! 5
%html{:lang =>
'en'
}
%html{:lang =>
I18n.locale
}
%head
%meta{:charset => 'utf-8'}/
%meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/
+ 1
- 1
app/views/layouts/embedded.html.haml
View File
@ -1,5 +1,5 @@
!!! 5
%html{:lang =>
'en'
}
%html{:lang =>
I18n.locale
}
%head
%meta{:charset => 'utf-8'}/
= stylesheet_link_tag 'application', media: 'all'
+ 1
- 1
app/views/layouts/error.html.haml
View File
@ -1,5 +1,5 @@
!!!
%html{:lang =>
"en"
}
%html{:lang =>
I18n.locale
}
%head
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
%meta{:charset => "utf-8"}/
Write
Preview
Loading…
Cancel
Save