From 511debd1b661838c9b5285607ad05c1954d99772 Mon Sep 17 00:00:00 2001 From: Daniel Berthereau Date: Mon, 23 Jun 2025 00:00:00 +0000 Subject: [PATCH] Removed the page template (see #1d301dc). --- view/common/page-template/homepage.phtml | 34 ------------------------ 1 file changed, 34 deletions(-) delete mode 100644 view/common/page-template/homepage.phtml diff --git a/view/common/page-template/homepage.phtml b/view/common/page-template/homepage.phtml deleted file mode 100644 index 97e1222..0000000 --- a/view/common/page-template/homepage.phtml +++ /dev/null @@ -1,34 +0,0 @@ -headLink()->appendStylesheet($this->assetUrl('css/page-blocks.css', 'Omeka')); -$this->headLink()->appendStylesheet($this->assetUrl('css/home.css')); -$this->htmlElement('body')->appendAttribute('class', $pageBodyClass); -$this->htmlElement('body')->appendAttribute('class', 'home-template'); -$this->pageTitle($page->title(), 2); -$nav = $site->publicNav(); -$assetLayout = new Omeka\Site\BlockLayout\Asset; -$mediaLayout = new Omeka\Site\BlockLayout\Media; -$showPagePagination = $this->siteSetting('show_page_pagination', true); -?> - -trigger('view.show.before'); ?> -
- blocks(); - foreach($blocks as $block) { - $blockLayout = $block->layout(); - if ($blockLayout == 'asset') { - echo $assetLayout->render($this, $block, "common/block-layout/home-asset"); - } else if ($blockLayout == 'media') { - echo $mediaLayout->render($this, $block, "common/block-layout/home-media"); - } else if ($blockLayout == 'blockGroup') { - echo $this->partial("common/block-layout/home-block-group", ['block' => $block]); - } else { - echo $this->blockLayout()->render($block); - } - } - ?> -
-trigger('view.show.after'); ?> - -sitePagePagination(); ?> - \ No newline at end of file