You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2022/06/08 12:56:28 UTC

[allura] branch master updated: [#8435] added nofollow,index for wiki history pages

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

kentontaylor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new a2e5f0179 [#8435] added nofollow,index for wiki history pages
a2e5f0179 is described below

commit a2e5f017947a4c6eb5abc4e8d44836e684a0f643
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Fri Jun 3 09:27:35 2022 -0600

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

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