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

Comments

One response to “SSI conditional based on Document URI”

  1. […] More complex if statement – SSI conditional based on document URI […]

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.