Fix Github button bug on preview pages