Mastodon

SSI conditional based on Document URI – RaeAllen.net

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 response to “SSI conditional based on Document URI”

Leave a Reply

Your email address will not be published.

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