changes header image function calls
This commit is contained in:
parent
c17aed359c
commit
136e495aee
|
@ -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) {
|
||||
?>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue