snippet for github page mode