Skip to content

avoid doctype output? #512

Answered by oscarotero
allanberry asked this question in Q&A
Nov 21, 2023 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

You can remove it using the following processor:

site.process([".html"], (page) => {
  page.content = page.content.replace("<!DOCTYPE html>\n", "");
});

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by allanberry
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@oscarotero
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants