Merge branch 'develop' into trunk
This commit is contained in:
commit
2f9dd7df0b
2 changed files with 2 additions and 2 deletions
|
|
@ -271,7 +271,7 @@ class Product extends Model implements SeoInterface, Sitemapable, SchemaOrgInter
|
|||
*/
|
||||
public function toSchemaOrg(bool $asReference = false): \Spatie\SchemaOrg\Product
|
||||
{
|
||||
$model = $this->load(['recipes', 'claims', 'productTypes', 'claims', 'meat', 'submeat', 'range', 'subrange']);
|
||||
$model = $this->load(['recipes', 'claims', 'productTypes', 'meat', 'submeat', 'range', 'subrange']);
|
||||
|
||||
// Main.
|
||||
$schema = Schema::Product()
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ class Recipe extends Model implements SeoInterface, Sitemapable, SchemaOrgInterf
|
|||
*/
|
||||
public function toSchemaOrg(bool $asReference = false): \Spatie\SchemaOrg\Recipe
|
||||
{
|
||||
$model = $this->load(['consumptionMoment']);
|
||||
$model = $this->load(['products', 'consumptionMoment', 'video']);
|
||||
|
||||
// Main.
|
||||
$schema = Schema::Recipe()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue