Add option for extension of rendered html file

I need this for a project where they are using a special extension.