LeaVerou/prism — pull request #221 by nauzilus (2014-03-01 14:00:08+00:00)
Title: Fix ToC generator to work with base

Subpages use the `base` tag, the ToC generator doesn't take this in to account and generates document fragment links based on the homepage, essentially rendering the ToC useless on any page not in prism root.