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 -->

One Reply to “SSI conditional based on Document URI”

Leave a Reply

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