Compare commits
3 Commits
e84517776d
...
5359f3a74c
Author | SHA1 | Date |
---|---|---|
buttle | 5359f3a74c | |
buttle | 25e93709d1 | |
buttle | f5d6b888ac |
|
@ -20,6 +20,13 @@ $layoutAttributes = [
|
|||
<?php $hasChildren = $page->hasPages() ?>
|
||||
<?php $showChildren = $this->themeSetting('nav_show_levels'); ?>
|
||||
<?php if (!$hasChildren || ($showChildren == 0)): ?>
|
||||
<?php
|
||||
$substring = "collections";
|
||||
$length = strlen($substring);
|
||||
if ( substr_compare($page->getHref(), $substring, -$length) === 0 ) {
|
||||
continue;
|
||||
}
|
||||
?>
|
||||
<li<?php if ($page->isActive()) echo ' class="active"' ?>>
|
||||
<a
|
||||
class="nav-header"
|
||||
|
|
|
@ -60,7 +60,7 @@ endif;
|
|||
<a id="skipnav" href="#content"><?php echo $this->translate('Skip to main content'); ?></a>
|
||||
<?php echo $userBar; ?>
|
||||
|
||||
<a href="http://arc-hive.zone">
|
||||
<a href="/">
|
||||
<img class="archive-logo"
|
||||
src="<?= $this->assetUrl("img/arc-hive-logo.jpg") ?>"
|
||||
/>
|
||||
|
|
|
@ -29,7 +29,14 @@ if ($img_src) {
|
|||
<?php } ?>
|
||||
|
||||
<script>
|
||||
$("#archive_page_title").html('<?= $site->title(); ?>');
|
||||
<?php
|
||||
if ($this->site->title() != "Collections") {
|
||||
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||
} else {
|
||||
$_html = $this->site->title();
|
||||
}
|
||||
?>
|
||||
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -24,11 +24,20 @@ if ($img_src) {
|
|||
</style>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<script>
|
||||
$("#archive_page_title").html('<?= $site->title(); ?>');
|
||||
<?php
|
||||
if ($this->site->title() != "Collections") {
|
||||
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||
} else {
|
||||
$_html = $this->site->title();
|
||||
}
|
||||
?>
|
||||
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<div class="resource-title">
|
||||
<?php echo $this->pageTitle($media->displayTitle(), 2); ?>
|
||||
</div>
|
||||
|
|
|
@ -8,7 +8,6 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true);
|
|||
<?php
|
||||
// set header images
|
||||
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
|
||||
|
||||
if ($img_src) {
|
||||
?>
|
||||
<style>
|
||||
|
@ -27,7 +26,14 @@ if ($img_src) {
|
|||
<?php } ?>
|
||||
|
||||
<script>
|
||||
$("#archive_page_title").html('<?= $site->title(); ?>');
|
||||
<?php
|
||||
if ($this->site->title() != "Collections") {
|
||||
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||
} else {
|
||||
$_html = $this->site->title();
|
||||
}
|
||||
?>
|
||||
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||
</script>
|
||||
|
||||
<?php /*
|
||||
|
|
Loading…
Reference in New Issue