So, this is scenario I have.

1. Services page - on this page I have list of few services that are created in CMS admin.
2. Work page - here is few work samples and those samples have their different folders. Also created in CMS admin.

Now I want to attach some work samples to the detailed page of services. Let's say the service is "Design", and in work samples there are few samples with folder "Photoshop". I want to show only those work samples with "photoshop" folder selected. On other detailed service page (etc. "Coding), I want to show work sample with some other folder.

How to do that? Is it possible to do it with "if" condition? For example if URL is ../design.html, show work samples with "photoshop" folder.