增加生成的网页中的lang根据config.language来定义的特性
This commit is contained in:
parent
16fe9782f7
commit
7ba48368df
@ -1,5 +1,10 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<% if (config.language){ %>
|
||||||
|
<html lang="<%= config.language %>" >
|
||||||
|
<% } else { %>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
<% }%>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
Loading…
Reference in New Issue
Block a user