Use default locale for html lang in layouts (#2212)
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
				
			|||||||
!!! 5
 | 
					!!! 5
 | 
				
			||||||
%html{:lang => 'en'}
 | 
					%html{:lang => I18n.locale}
 | 
				
			||||||
  %head
 | 
					  %head
 | 
				
			||||||
    %meta{:charset => 'utf-8'}/
 | 
					    %meta{:charset => 'utf-8'}/
 | 
				
			||||||
    %meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/
 | 
					    %meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
!!! 5
 | 
					!!! 5
 | 
				
			||||||
%html{:lang => 'en'}
 | 
					%html{:lang => I18n.locale}
 | 
				
			||||||
  %head
 | 
					  %head
 | 
				
			||||||
    %meta{:charset => 'utf-8'}/
 | 
					    %meta{:charset => 'utf-8'}/
 | 
				
			||||||
    = stylesheet_link_tag 'application', media: 'all'
 | 
					    = stylesheet_link_tag 'application', media: 'all'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
!!!
 | 
					!!!
 | 
				
			||||||
%html{:lang => "en"}
 | 
					%html{:lang => I18n.locale}
 | 
				
			||||||
  %head
 | 
					  %head
 | 
				
			||||||
    %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
 | 
					    %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
 | 
				
			||||||
    %meta{:charset => "utf-8"}/
 | 
					    %meta{:charset => "utf-8"}/
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user