This is an automated email from the ASF dual-hosted git repository.

gcruz pushed a commit to branch gc/8435
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 998fa2d574e25fd2d80951c8f4684c8c379de6ec
Author: Guillermo Cruz <[email protected]>
AuthorDate: Fri Jun 3 09:27:35 2022 -0600

    [#8435] added nofollow,index for wiki history pages
---
 ForgeWiki/forgewiki/templates/wiki/page_history.html | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ForgeWiki/forgewiki/templates/wiki/page_history.html 
b/ForgeWiki/forgewiki/templates/wiki/page_history.html
index 1fc34c216..db06e067f 100644
--- a/ForgeWiki/forgewiki/templates/wiki/page_history.html
+++ b/ForgeWiki/forgewiki/templates/wiki/page_history.html
@@ -22,7 +22,10 @@
 
 {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / 
{{title}}{% endblock %}
 
-{% block header %}{{title}}{% endblock %}
+{% block header %}
+    {{title}}
+    <meta name="robots" content="noindex,follow" />
+{% endblock %}
 
 {% block actions %}
   {{ g.icons['eye'].render(href='.', title='View Page') }}

Reply via email to