From bc58644a32338022a8ebaa00258248f80f8d1283 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Kula?= <148193449+mkibp@users.noreply.github.com> Date: Wed, 27 Mar 2024 10:20:17 +0100 Subject: [PATCH] Bug 35812: specify canonical URL for the main page Currently main page can be accessed by: - / - /index.html - /cgi-bin/koha/opac-main.pl This specifies the canonical link for all of them to be "/", to aid search engines in assessing what's url to put in the index. Signed-off-by: Pedro Amorim Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt index d23809eae8..a8fdf2c43b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt @@ -14,6 +14,7 @@ [% SET OpacLoginInstructions = AdditionalContents.get( location => "OpacLoginInstructions", lang => lang, library => branchcode || default_branch ) %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog + [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] -- 2.39.5