adds common block renderer

This commit is contained in:
buttle 2021-05-17 13:57:25 +02:00
parent 07a791c4ff
commit 1ef93c2884
2 changed files with 17 additions and 7 deletions

View File

@ -96,12 +96,10 @@ class ArchiveSiteMeta extends AbstractBlockLayout
public function render(PhpRenderer $view, SitePageBlockRepresentation $block) public function render(PhpRenderer $view, SitePageBlockRepresentation $block)
{ {
/* return $view->partial('common/block-layout/site-meta', [
$controller->layout()->setVariable( 'artist' =>$block->dataValue('currator'),
'content', 'project_date' => $block->dataValue('project_date'),
$this->viewRenderer->render('my/email/view_script.phtml'); 'collection' => $block->dataValue('collection'),
); ]);
*/
return "";
} }
} }

View File

@ -0,0 +1,12 @@
<ul>
<li>
<?= $artist ?>
</li>
<li>
<?= $project_date ?>
</li>
<li>
<?= $collection ?>
</li>
</ul>