Now that octicons are working I am using xetex again.
Instructions for using octicons and adding GitHub ribbon to html output.