webpages with templating system fully working