DTL page : fix dynamic background
This commit is contained in:
parent
7dbfedb08c
commit
8e12988961
3 changed files with 45 additions and 14 deletions
|
|
@ -29,7 +29,8 @@ foreach ($page->presentation()->toLayouts() as $layout) {
|
|||
}
|
||||
|
||||
$specificData = [
|
||||
"presentation" => $presentation
|
||||
"presentation" => $presentation,
|
||||
"background" => $page->background()->isNotEmpty() ? getFileData($page->background()->toFile()) : null
|
||||
];
|
||||
|
||||
$pageData = array_merge($genericData, $specificData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue