From: Marius Gavrilescu Date: Sat, 28 May 2016 16:57:46 +0000 (+0100) Subject: Use subtitle instead of summary as schema.org description X-Git-Tag: 0.000_007~5 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=506d6d0256b6d0b529cd58993ff99d82d385334c;p=app-web-oof.git Use subtitle instead of summary as schema.org description --- diff --git a/lib/App/Web/Oof.pm b/lib/App/Web/Oof.pm index d859076..ba80d0e 100644 --- a/lib/App/Web/Oof.pm +++ b/lib/App/Web/Oof.pm @@ -77,7 +77,7 @@ sub product_to_schemaorg { '@type' => 'Product', name => $data{title}, image => "/static/fullpics/$data{product}-1.jpg", - description => $data{summary}, + description => $data{subtitle}, offers => { '@type' => 'Offer', price => ($data{price} =~ s/(..)$/\.$1/r),