Fixes gollum/gollum#678 adds ancestry to TOC headers