소스 검색

use lang in html tag

Thomas Buck 3 년 전
부모
커밋
8edc50c6a5
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6
    1
      page.html

+ 6
- 1
page.html 파일 보기

@@ -1,5 +1,10 @@
1 1
 <!DOCTYPE html>
2
-<html>
2
+<!--%
3
+if page.get("lang", "en") == "de":
4
+    print '<html lang="de">'
5
+else:
6
+    print '<html lang="en">'
7
+%-->
3 8
 <head>
4 9
     <meta charset="{{ htmlspecialchars(__encoding__) }}" />
5 10
     <title>{{ htmlspecialchars(page.title) }} - xythobuz.de</title>

Loading…
취소
저장