SSI conditional based on Document URI

Snippett of code based on the uri in the document

<!--#if expr="($DOCUMENT_URI = /brisbane/) || ($DOCUMENT_URI = /sydney/) || ($DOCUMENT_URI = /melbourne/) || ($DOCUMENT_URI = /adelaide/) || ($DOCUMENT_URI = /perth/)" -->
CONTENT GOES HERE
<!--#else -->
OTHER CONTENT HERE
<!--#endif -->

1 comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.