Skip to content
Snippets Groups Projects
Commit 598d3def authored by Matt Jankowski's avatar Matt Jankowski Committed by Eugen
Browse files

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

parent 7f8044d9
Branches
Tags
No related merge requests found
!!! 5
%html{:lang => 'en'}
%html{:lang => I18n.locale}
%head
%meta{:charset => 'utf-8'}/
%meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/
......
!!! 5
%html{:lang => 'en'}
%html{:lang => I18n.locale}
%head
%meta{:charset => 'utf-8'}/
= stylesheet_link_tag 'application', media: 'all'
......
!!!
%html{:lang => "en"}
%html{:lang => I18n.locale}
%head
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
%meta{:charset => "utf-8"}/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment