diff --git a/src/Site/BlockLayout/ArchiveSiteMeta.php b/src/Site/BlockLayout/ArchiveSiteMeta.php index d29248a..d41cf4b 100644 --- a/src/Site/BlockLayout/ArchiveSiteMeta.php +++ b/src/Site/BlockLayout/ArchiveSiteMeta.php @@ -96,12 +96,10 @@ class ArchiveSiteMeta extends AbstractBlockLayout public function render(PhpRenderer $view, SitePageBlockRepresentation $block) { - /* - $controller->layout()->setVariable( - 'content', - $this->viewRenderer->render('my/email/view_script.phtml'); - ); - */ - return ""; + return $view->partial('common/block-layout/site-meta', [ + 'artist' =>$block->dataValue('currator'), + 'project_date' => $block->dataValue('project_date'), + 'collection' => $block->dataValue('collection'), + ]); } } diff --git a/view/common/block-layout/site-meta.phtml b/view/common/block-layout/site-meta.phtml new file mode 100644 index 0000000..404c4a1 --- /dev/null +++ b/view/common/block-layout/site-meta.phtml @@ -0,0 +1,12 @@ + +