Get Homepage ID in template

Hello,
is it possible to get the ID of the page defined as home page in navigation setting ?

It is to customize the content of the page by adding automatically generated information.

Thanks.

I found the solution by using
$site->homepage() and $page->id()
in /themes/mytheme/view/omeka/site/page/show.phtml

1 Like

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.