This is an automated email from the ASF dual-hosted git repository. brondsem pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/allura.git
commit eb0d1eb26dda3a20050272bcad178ae918e07813 Author: Guillermo Cruz <[email protected]> AuthorDate: Wed Jun 8 15:01:27 2022 -0600 [#8437] noindex, follow header for empty svn and git repositories --- ForgeGit/forgegit/templates/git/index.html | 4 ++++ ForgeSVN/forgesvn/templates/svn/index.html | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ForgeGit/forgegit/templates/git/index.html b/ForgeGit/forgegit/templates/git/index.html index 73a5291d7..6d2c691cf 100644 --- a/ForgeGit/forgegit/templates/git/index.html +++ b/ForgeGit/forgegit/templates/git/index.html @@ -20,6 +20,10 @@ {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}}{% endblock %} +{% block head %} + <meta name="robots" content="noindex, follow"> +{% endblock %} + {% block header %}{{c.app.config.options.mount_label}}{% endblock %} {% block content %} diff --git a/ForgeSVN/forgesvn/templates/svn/index.html b/ForgeSVN/forgesvn/templates/svn/index.html index 4bf92676e..9e0d44890 100644 --- a/ForgeSVN/forgesvn/templates/svn/index.html +++ b/ForgeSVN/forgesvn/templates/svn/index.html @@ -19,7 +19,9 @@ {% extends 'allura:templates/repo/repo_master.html' %} {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}}{% endblock %} - +{% block head %} + <meta name="robots" content="noindex, follow"> +{% endblock %} {% block header %}{{c.app.config.options.mount_label}}{% endblock %} {% block content %}
