Skip to content

Commit

Permalink
Update base.html
Browse files Browse the repository at this point in the history
Fixed a bug where the `<html lang>` attribute was hard-set to `en-US` rather than the current application language. (Refer: craftcms#3053)
  • Loading branch information
watarutmnh authored Jul 4, 2018
1 parent a530002 commit ae19db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/_layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% set bodyClass = (bodyClass is defined ? bodyClass~' ' : '') ~ craft.i18n.getLocaleData().getOrientation() -%}

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ craft.locale }}">
<head>
{% block head %}
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down

0 comments on commit ae19db6

Please sign in to comment.