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/17 21:01:03 UTC

[allura] 01/01: [#8440] added canonical link to project activity section

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

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

commit a602e51052b63e43893df709acce4044083bb2cc
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Fri Jun 17 15:00:48 2022 -0600

    [#8440] added canonical link to project activity section
---
 ForgeActivity/forgeactivity/templates/index.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ForgeActivity/forgeactivity/templates/index.html b/ForgeActivity/forgeactivity/templates/index.html
index f9cee64b8..855b34e2a 100644
--- a/ForgeActivity/forgeactivity/templates/index.html
+++ b/ForgeActivity/forgeactivity/templates/index.html
@@ -24,6 +24,7 @@
     {% if noindex %}
         <meta name="robots" content="noindex, follow">
     {%  endif %}
+    <link rel="canonical" href="{{ request.host_url ~ request.path }}">
 {% endblock %}
 
 {% block title %}{{c.project.name}} Activity{% endblock %}