Adding templates for web pages