Fixes custom 404 page with switching to markdown