How to do page conditionals in a header (global layout)
I've looked through the conditionals docs but my code doesn't seem to be working. I am trying to add a conditional statement to my global header so that I can display something if it is the homepage else, do something different.
Below is what I tried but I don't think it is correct as it is a global value, not inside a smaller template. I can't find the correct answer in the docs or the new forum.
<perch:if id="pageID" match="eq" value="1"> #### <perch:else> ### </perch:if>