fix: 🐛 safely access SEO fields with data_get
This commit is contained in:
parent
7cea893393
commit
ad4193997b
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
@extends('front.layouts.layout')
|
||||
|
||||
@section('title', $dynamicPageModel->content['list_seo_fields'][0]['string_seo_title'])
|
||||
@section('description', $dynamicPageModel->content['list_seo_fields'][0]['textarea_seo_description'])
|
||||
@section('title', data_get($dynamicPageModel, 'content.list_seo_fields.0.string_seo_title'))
|
||||
@section('description', data_get($dynamicPageModel, 'content.list_seo_fields.0.textarea_seo_description'))
|
||||
|
||||
@section('content')
|
||||
{{-- VIDEO --}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue