refactored templates
Merge branch 'gh-pages'