Make footnote links work properly for real