Allow customization of CONTENT_EXTENSION, defaults to .html