diff --git a/UPGRADE.rst b/UPGRADE.rst
index e7c6a9338742d5c5a7d84b3c4b03517b90fc9616..6882354c0b60669b9ecab859b5186a5b0338522e 100644
--- a/UPGRADE.rst
+++ b/UPGRADE.rst
@@ -113,8 +113,7 @@ New templates (``sso_auth_confirm.html``, ``sso_auth_success.html``, and
 ``sso_account_deactivated.html``) were added to Synapse. If your Synapse is
 configured to use SSO and a custom  ``sso_redirect_confirm_template_dir``
 configuration then these templates will need to be copied from
-[synapse/res/templates](https://github.com/matrix-org/synapse/tree/release-v1.13.0/synapse/res/templates)
-into that directory.
+`synapse/res/templates <synapse/res/templates>`_ into that directory.
 
 Synapse SSO Plugins Method Deprecation
 --------------------------------------