From 5d7b540020126786a2e5eb26680a3144f87db7f0 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 27 Feb 2016 18:28:40 +0000 Subject: [PATCH] Add ledparts4you to page titles --- lib/App/Web/Oof.pm | 2 +- tmpl/continue.html | 2 +- tmpl/details.html | 2 +- tmpl/form.html | 2 +- tmpl/order.html | 2 +- tmpl/pay.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/App/Web/Oof.pm b/lib/App/Web/Oof.pm index 471c200..61c4ecf 100644 --- a/lib/App/Web/Oof.pm +++ b/lib/App/Web/Oof.pm @@ -205,7 +205,7 @@ sub details_app { my $title = $db{$$}->select(products => 'title', {product => $id})->list; my @pics = ; my $slug = make_slug $title; - $tree->find('title')->replace_content("Pictures of $title"); + $tree->find('title')->replace_content("Pictures of $title | ledparts4you"); $tree->find('h2')->replace_content($title); $tree->look_down(rel => 'canonical')->attr(href => "/details/$id/$slug"); $tree->fid('pictures')->iter3(\@pics, \&details_list_element); diff --git a/tmpl/continue.html b/tmpl/continue.html index 374989a..7cbbaa9 100644 --- a/tmpl/continue.html +++ b/tmpl/continue.html @@ -1,7 +1,7 @@ -Order details +Order details | ledparts4you

ledparts4you

Issues/Questions? Contact us at orders@ledparts4you.uk.to
diff --git a/tmpl/details.html b/tmpl/details.html index bc91e15..418fec8 100644 --- a/tmpl/details.html +++ b/tmpl/details.html @@ -2,7 +2,7 @@ -Pictures of an item +Pictures of an item | ledparts4you

ledparts4you

Issues/Questions? Contact us at orders@ledparts4you.uk.to
diff --git a/tmpl/form.html b/tmpl/form.html index 2687485..b719c2e 100644 --- a/tmpl/form.html +++ b/tmpl/form.html @@ -1,7 +1,7 @@ -Order form +Order LED TV parts | ledparts4you

ledparts4you

Issues/Questions? Contact us at orders@ledparts4you.uk.to
diff --git a/tmpl/order.html b/tmpl/order.html index 977fbdc..2830af5 100644 --- a/tmpl/order.html +++ b/tmpl/order.html @@ -1,7 +1,7 @@ -Order placed +Order placed | ledparts4you

ledparts4you

Issues/Questions? Contact us at orders@ledparts4you.uk.to
diff --git a/tmpl/pay.html b/tmpl/pay.html index 89850cb..9c1783c 100644 --- a/tmpl/pay.html +++ b/tmpl/pay.html @@ -1,7 +1,7 @@ -Card payment information +Card payment information | ledparts4you

ledparts4you

Issues/Questions? Contact us at orders@ledparts4you.uk.to
-- 2.30.2