my $title = $db{$$}->select(products => 'title', {product => $id})->list;
my @pics = <static/fullpics/$id-*>;
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);
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="/static/style.css">
-<title>Order details</title>
+<title>Order details | ledparts4you</title>
<h1 id="title">ledparts4you</h1>
<div id="subtitle">Issues/Questions? Contact us at <a href="mailto:orders@ledparts4you.uk.to">orders@ledparts4you.uk.to</a></div>
<meta charset="utf-8">
<link rel="stylesheet" href="/static/style.css">
<link rel="canonical" href="https://example.org">
-<title>Pictures of an item</title>
+<title>Pictures of an item | ledparts4you</title>
<h1 id="title">ledparts4you</h1>
<div id="subtitle">Issues/Questions? Contact us at <a href="mailto:orders@ledparts4you.uk.to">orders@ledparts4you.uk.to</a></div>
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="/static/style.css">
-<title>Order form</title>
+<title>Order LED TV parts | ledparts4you</title>
<h1 id="title">ledparts4you</h1>
<div id="subtitle">Issues/Questions? Contact us at <a href="mailto:orders@ledparts4you.uk.to">orders@ledparts4you.uk.to</a></div>
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="/static/style.css">
-<title>Order placed</title>
+<title>Order placed | ledparts4you</title>
<h1 id="title">ledparts4you</h1>
<div id="subtitle">Issues/Questions? Contact us at <a href="mailto:orders@ledparts4you.uk.to">orders@ledparts4you.uk.to</a></div>
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="/static/style.css">
-<title>Card payment information</title>
+<title>Card payment information | ledparts4you</title>
<h1 id="title">ledparts4you</h1>
<div id="subtitle">Issues/Questions? Contact us at <a href="mailto:orders@ledparts4you.uk.to">orders@ledparts4you.uk.to</a></div>