Browse Source

Prevent Chrome to suggest translation from Latin (#518)

Add `lang` attribute to `html` tag
Stanislav Termosa 8 years ago
parent
commit
06dd1f462d
1 changed files with 1 additions and 1 deletions
  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 }}