浏览代码

Prevent Chrome to suggest translation from Latin (#518)

Add `lang` attribute to `html` tag
Stanislav Termosa 8 年之前
父节点
当前提交
06dd1f462d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/_layouts/default.html

+ 1 - 1
docs/_layouts/default.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html class="{% if page.route %}route-{{page.route}}{% elsif page.layout %}route-{{page.layout}}{% endif %}">
+<html lang="en" class="{% if page.route %}route-{{page.route}}{% elsif page.layout %}route-{{page.layout}}{% endif %}">
   {% include head.html %}
   <body class="layout-{{ page.layout }}{% if page.doc-tab %} page-{{ page.doc-tab}}{% endif %}">
     {{ content }}