split html templates