refactor for gh-pages jekyll