Added template generation to gh-pages