I've been learning to develop in Orchard recently however I'm a little stuck with an alternate I'm trying to achieve.
What I want to do is add a class when there is a widget in the Featured area and only on the homepage.
I know I can create a file named Widget-Featured.cshtml which will target all widgets in the Featured area regardless of page and I know I can create a file named Widget-url-homepage to target all widgets on the homepage.
I can't however manage to combine the two, is this possible?
Thanks for any help! Martin
This should do the trick. Make sure you have Url Alternates feature enabled in the backend.