This is an automated email from the ASF dual-hosted git repository.
gcruz pushed a commit to branch gc/8437
in repository https://gitbox.apache.org/repos/asf/allura.git
The following commit(s) were added to refs/heads/gc/8437 by this push:
new 75f761d9c [#8437] noindex, follow header for empty svn and git
repositories
75f761d9c is described below
commit 75f761d9ce985e3bd00a3f8ebc736dafd5dc610a
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 %}