changes header image function calls

This commit is contained in:
buttle 2021-05-17 22:05:10 +02:00
parent c17aed359c
commit 136e495aee
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,7 @@ $hasResults = false;
<?php
$site->pages();
// set header images
//$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getPageImage($page);
// set header image
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
if ($img_src) {
?>

View File

@ -7,7 +7,8 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true);
<?php
// set header images
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getPageImage($page);
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
if ($img_src) {
?>
<style>