Skip to content

Commit 5f3f381

Browse files
authored
Merge pull request hexojs#78 from curbengh/head-twice
fix: prevent </html> from being added twice
2 parents 814779d + c6e2ebf commit 5f3f381

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

layout/_partial/head.ejs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<!DOCTYPE HTML>
2-
<html>
31
<head>
42
<meta charset="utf-8">
53
<%

layout/layout.ejs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<!DOCTYPE HTML>
2+
<html lang="<%= config.language %>">
13
<%- partial('_partial/head') %>
24

35
<body>

0 commit comments

Comments
 (0)