Add seo description to page preview for easier editing
This commit is contained in:
parent
7db37e3c8b
commit
3cbe62319e
1 changed files with 6 additions and 0 deletions
|
@ -47,6 +47,12 @@ class PageLayoutHeader
|
||||||
$view->assignMultiple([
|
$view->assignMultiple([
|
||||||
'record' => $this->pageLayoutController->pageinfo,
|
'record' => $this->pageLayoutController->pageinfo,
|
||||||
'metaInfo' => [
|
'metaInfo' => [
|
||||||
|
[
|
||||||
|
'label' => 'meta-description',
|
||||||
|
'value' => $this->pageLayoutController->pageinfo['description'],
|
||||||
|
'field' => 'description',
|
||||||
|
'type' => 'string',
|
||||||
|
],
|
||||||
[
|
[
|
||||||
'label' => 'introduction',
|
'label' => 'introduction',
|
||||||
'value' => $this->pageLayoutController->pageinfo['abstract'],
|
'value' => $this->pageLayoutController->pageinfo['abstract'],
|
||||||
|
|
Loading…
Reference in a new issue