소스 검색

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 }}