]> iEval git - app-web-oof.git/commitdiff
Use subtitle instead of summary as schema.org description
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 28 May 2016 16:57:46 +0000 (17:57 +0100)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 28 May 2016 16:57:46 +0000 (17:57 +0100)
lib/App/Web/Oof.pm

index d8590764c338217673294d32b046761ef71c6210..ba80d0e4fc6e049110f09f504a9b19ba8161b902 100644 (file)
@@ -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),
This page took 0.024754 seconds and 4 git commands to generate.