Hello all,
I have a question related to finding the homepage of a particular site. It is similar to this question. https://forum.omeka.org/t/solved-how-to-find-current-page-slug-in-theme/3250/1
Basically i am writing a theme, and in the layout.phtml file i would like to write a conditional to check if the current page is the homage page of a particular site and then basically display a large search area. I don’t want to hardcode (/s/siteslug/page/homepage/
) the home page of a site, because I would like the theme to be re-used across many different sites.
Is there any way to call the homepage of a site?