Package: bugs.debian.org Severity: wishlist Tags: patch Hi,
Attached is the following: commit 7068a3d4cc8dab4878db4341b0bace9463d18dfd Author: Chris Lamb <ch...@chris-lamb.co.uk> Date: Tue Feb 13 16:07:43 2018 +0000 Add rel="canonical" links to bug pages. templates/en_US/cgi/bugreport.tmpl | 1 + 1 file changed, 1 insertion(+) Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
>From 7068a3d4cc8dab4878db4341b0bace9463d18dfd Mon Sep 17 00:00:00 2001 From: Chris Lamb <ch...@chris-lamb.co.uk> Date: Tue, 13 Feb 2018 16:07:43 +0000 Subject: [PATCH] Add rel="canonical" links to bug pages. --- templates/en_US/cgi/bugreport.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/en_US/cgi/bugreport.tmpl b/templates/en_US/cgi/bugreport.tmpl index 2f0ec04..d264df6 100644 --- a/templates/en_US/cgi/bugreport.tmpl +++ b/templates/en_US/cgi/bugreport.tmpl @@ -1,4 +1,5 @@ {include(q(html/pre_title))}#{$bug_num} - {html_escape($status{subject})} - {html_escape($config{project})} {html_escape($config{bug})} report logs{include(q(html/post_title.tmpl))} +<link rel="canonical" href="{html_escape(bug_links{bug=>$bug_numsubject})}"> <script type="text/javascript"> <!-- function toggle_infmessages() -- 2.16.1