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

[allura] branch gc/8435 created (now 998fa2d57)

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

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


      at 998fa2d57 [#8435] added nofollow,index for wiki history pages

This branch includes the following new commits:

     new 998fa2d57 [#8435] added nofollow,index for wiki history pages

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[allura] 01/01: [#8435] added nofollow,index for wiki history pages

Posted by gc...@apache.org.
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 <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 | 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') }}