fix(api.template): ensure "Show Source" link has correct URL