Further build improvements

Makes templates previewable on gh-pages