extends html templates