removed title link from Collections site

This commit is contained in:
buttle 2021-05-24 19:47:24 +02:00
parent f5d6b888ac
commit 25e93709d1
1 changed files with 10 additions and 2 deletions

View File

@ -8,7 +8,6 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true);
<?php <?php
// set header images // set header images
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page); $img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
if ($img_src) { if ($img_src) {
?> ?>
<style> <style>
@ -26,8 +25,17 @@ if ($img_src) {
</style> </style>
<?php } ?> <?php } ?>
<?= $this->site->title() ?>
<script> <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> </script>
<?php /* <?php /*