Skip to content

Commit

Permalink
Merge pull request #953 from yhlfh/5.1.0
Browse files Browse the repository at this point in the history
make value of lang attr responsive
  • Loading branch information
iissnan authored Jun 23, 2016
2 parents df9cc11 + 4145c66 commit 27e0a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/_layout.swig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<title>{% block title %}{% endblock %}</title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="{{ config.language }}">
<body itemscope itemtype="http://schema.org/WebPage" lang="{{ page.lang || page.language || config.language }}">

{% include '_scripts/third-party/analytics.swig' %}

Expand Down

0 comments on commit 27e0a7a

Please sign in to comment.