增加生成的网页中的lang根据config.language来定义的特性

This commit is contained in:
Wang Wei 2020-03-25 10:41:27 +08:00
parent 16fe9782f7
commit 7ba48368df

View File

@ -1,5 +1,10 @@
<!DOCTYPE html>
<% if (config.language){ %>
<html lang="<%= config.language %>" >
<% } else { %>
<html lang="en">
<% }%>
<head>
<meta charset="utf-8" />