Skip to content

Commit 31726a8

Browse files
committed
Set default encoding of pages to UTF-8. In the cases of Chinese, missing encoding settings might make display incorrectly.
1 parent 24bc51d commit 31726a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template/page.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ return
1717
# for _, header in ipairs(_page.headers) do
1818
$(header)
1919
# end
20+
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
2021
</head>
2122
#end
2223
<body>

0 commit comments

Comments
 (0)