Add template file

It's fine like this as the if and script tags encompass the whole file and quite often we don't indent for if statements in templates.