1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Use default locale for html lang in layouts (#2212)

This commit is contained in:
Matt Jankowski 2017-04-20 07:09:31 -04:00 committed by Eugen
parent 7f8044d913
commit 598d3defd5
3 changed files with 3 additions and 3 deletions

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'}/

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'

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"}/