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/07 20:28:35 UTC

[allura] branch gc/8435 updated: fixup! [#8435] added nofollow,index for wiki history pages

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


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

commit e11db8fbe59127eca3e88e0221625a9952462cf7
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Tue Jun 7 14:28:10 2022 -0600

    fixup! [#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 db06e067f..4bc43b11a 100644
--- a/ForgeWiki/forgewiki/templates/wiki/page_history.html
+++ b/ForgeWiki/forgewiki/templates/wiki/page_history.html
@@ -22,9 +22,12 @@
 
 {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / {{title}}{% endblock %}
 
+{%  block head %}
+    <meta name="robots" content="noindex,follow" />
+{% endblock %}
+
 {% block header %}
     {{title}}
-    <meta name="robots" content="noindex,follow" />
 {% endblock %}
 
 {% block actions %}