Replace custom variables in the custom HTML files too.

@vvandonselaar-aa Please review :)