Add seo description to page preview for easier editing

This commit is contained in:
Daniel Siepmann 2020-01-10 16:24:30 +01:00
parent 7db37e3c8b
commit 3cbe62319e

View file

@ -47,6 +47,12 @@ class PageLayoutHeader
$view->assignMultiple([
'record' => $this->pageLayoutController->pageinfo,
'metaInfo' => [
[
'label' => 'meta-description',
'value' => $this->pageLayoutController->pageinfo['description'],
'field' => 'description',
'type' => 'string',
],
[
'label' => 'introduction',
'value' => $this->pageLayoutController->pageinfo['abstract'],