# HG changeset patch # User RhodeCode Admin # Date 2023-12-27 09:47:24 # Node ID e139aad4574aa4471c3c3ce09289bf88e43a7c3e # Parent 767b4f99059e7ac22c081711cfe9c457a6226640 feat(archives): archive download links uses rel="nofollow" attribute to stop bots from indexing it. diff --git a/rhodecode/templates/files/files_browser.mako b/rhodecode/templates/files/files_browser.mako --- a/rhodecode/templates/files/files_browser.mako +++ b/rhodecode/templates/files/files_browser.mako @@ -55,7 +55,7 @@ %>
- + ${label.format('.zip')} @@ -69,7 +69,7 @@ % for a_type, content_type, extension in h.ARCHIVE_SPECS: % if extension not in ['.zip']:
  • - + ${label.format(extension)} diff --git a/rhodecode/templates/summary/components.mako b/rhodecode/templates/summary/components.mako --- a/rhodecode/templates/summary/components.mako +++ b/rhodecode/templates/summary/components.mako @@ -189,7 +189,7 @@
  • - + ${c.rhodecode_db_repo.landing_ref_name+extension}