Link headings to themselves
Fixes #1259
Merge pull request #1322 from gavacho/gh-pages

Link headings to themselves