gh-pages: e3aad7b46447b932c09aac8440405f14cd451014 Put duplicate code in ruby block