support for assets relative not hardcoded
This commit is contained in:
parent
11a99c7a08
commit
f33e6e67ee
|
@ -36,4 +36,4 @@ $projects = htmlentities(json_encode($projects, JSON_HEX_QUOT), ENT_QUOTES, 'UTF
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<script src="/themes/archive/assets/js/archive-list.js"></script>
|
<script src="<?php $this->assetUrl('js/archive-list.js');?>"></script>
|
||||||
|
|
|
@ -11,7 +11,6 @@ $hasResults = false;
|
||||||
<?php
|
<?php
|
||||||
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($this->site);
|
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($this->site);
|
||||||
if (!$img_src) {
|
if (!$img_src) {
|
||||||
//$img_src = '/themes/archive/asset/img/default-header-image.jpg';
|
|
||||||
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
|
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
|
||||||
}
|
}
|
||||||
if ($this->site->title() == "Collections") {
|
if ($this->site->title() == "Collections") {
|
||||||
|
|
Loading…
Reference in New Issue