[#1876] Fix some broken docs links in templates

Fixes #1876.