Merge pull request #37 from wangwei1237/master

增加生成的网页中的lang根据config.language来定义的特性
This commit is contained in:
沈宇 2020-03-25 10:59:42 +08:00 committed by GitHub
commit 2a080f157c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" />