X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FApp%2FWeb%2FOof.pm;h=61c4ecf166cb58d391f590b389673139e11e3f65;hb=5d7b540020126786a2e5eb26680a3144f87db7f0;hp=429c97f8ec958a7e0391bb01985143aaba9dc833;hpb=39be4169dc876760f6eddb58e550419fc37206e7;p=app-web-oof.git diff --git a/lib/App/Web/Oof.pm b/lib/App/Web/Oof.pm index 429c97f..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); @@ -231,7 +231,7 @@ sub app { my $app = shift; sub { my $res = $app->(@_); - push @{$res->[2]}, $footer; + push @{$res->[2]}, $footer if $res->[0] == 200; $res; } };