Hi,
Unfortunately, there is not AND or OR functionality in context macros. You could create a
custom macro, where you can implement requested functionality easily.
To get a document name in your custom macro, you could use code:
string name = CMSContext.CurrentPageInfo.DocumentName;
Best regards,
Ivana Tomanickova