Explorar o código

Merge pull request #103 from HyunSeob/master

Add lang attribute to html tag
Ruipeng Zhang %!s(int64=9) %!d(string=hai) anos
pai
achega
9a431fb90a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      layout/common/head.ejs

+ 1 - 1
layout/common/head.ejs

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html>
+<html lang="<%=config.language.substring(0, 2) %>">
 <head>
     <meta charset="utf-8">
     <%