[open-ils-commits] [GIT] Evergreen ILS branch master updated. 1fe4981782c864f86e75312feb9885421d831c07
Evergreen Git
git at git.evergreen-ils.org
Wed Mar 2 12:08:00 EST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 1fe4981782c864f86e75312feb9885421d831c07 (commit)
from 4aa356436a9ad2fab31bc0ef763cd678a4dc910c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1fe4981782c864f86e75312feb9885421d831c07
Author: Bill Erickson <berickxx at gmail.com>
Date: Wed Mar 2 10:47:29 2016 -0500
LP#1507845 SEO home.tt2 template repair
Ensure all TT code lives within the [% ... %] blocks. This fixes an
issue where TT code "ctx.metalinks.push('');" was appearing in the
catalog as bare text.
Signed-off-by: Bill Erickson <berickxx at gmail.com>
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
diff --git a/Open-ILS/src/templates/opac/home.tt2 b/Open-ILS/src/templates/opac/home.tt2
index 77b1d51..8f120e6 100644
--- a/Open-ILS/src/templates/opac/home.tt2
+++ b/Open-ILS/src/templates/opac/home.tt2
@@ -1,8 +1,8 @@
[%- PROCESS "opac/parts/header.tt2";
WRAPPER "opac/parts/base.tt2";
INCLUDE "opac/parts/topnav.tt2";
- ctx.page_title = l("Home") %]
ctx.metalinks.push('<link rel="canonical" href="' _ mkurl('', {}, 1) _ '" />');
+ ctx.page_title = l("Home") %]
<h2 class="sr-only">[% l('Catalog Home') %]</h2>
[% INCLUDE "opac/parts/searchbar.tt2" %]
<div id="content-wrapper">
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/opac/home.tt2 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list