diff --git a/frontend/controllers/ServiceController.php b/frontend/controllers/ServiceController.php index 9454b74..1dc028e 100644 --- a/frontend/controllers/ServiceController.php +++ b/frontend/controllers/ServiceController.php @@ -43,8 +43,8 @@ $layoutMicrodata=(count($model->prices)>1)? [ - '@context'=> 'http://schema.org/', - '@type'=> 'Product', + 'context' => 'http://schema.org/', + 'type' => 'Product', 'name'=> "'{$model->language->attributes['title']}'", 'offers' => [ diff --git a/frontend/microdata/ProductMicrodata.php b/frontend/microdata/ProductMicrodata.php index 4aecbad..0c55d0b 100644 --- a/frontend/microdata/ProductMicrodata.php +++ b/frontend/microdata/ProductMicrodata.php @@ -13,6 +13,7 @@ class ProductMicrodata extends Microdata public $offers=null; public $description=null; public $npm=null; + public $type = null; diff --git a/frontend/views/blog/index.php b/frontend/views/blog/index.php index c29443c..ee68142 100755 --- a/frontend/views/blog/index.php +++ b/frontend/views/blog/index.php @@ -74,16 +74,16 @@
-- libgit2 0.21.4