Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Question: how to disable the processing of HTML files? #518

sergiolepore opened this Issue Mar 7, 2014 · 2 comments


2 participants

sergiolepore commented Mar 7, 2014

I tried to add a custom 404 error page in source/404.html (according to the Github guide for custom error pages) but Hexo seems to treat it as a Markdown file, causing an error when running hexo generate.

Is there a way to skip this file?

A-limon commented Mar 9, 2014

put your custom 404 page in source and add
layout: false
at the top of this file.


sergiolepore commented Mar 9, 2014

Thanks! Just a little correction, I had to add only three dashes

layout: false

Otherwise my html file was still breaking 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment