How to get rid of <article tag> per widget

Topics: Customizing Orchard
Oct 31, 2012 at 8:16 PM

I would like to prevent Orchard from rendering <article> tag for each html widget.. Any Ideas how? Thanks!

Oct 31, 2012 at 8:35 PM

Make a content-widget.cshtml alternate for the content template in your theme.

Nov 5, 2012 at 1:45 PM

I cant find content-widget.cshtml.. Its not even in default template...

Nov 6, 2012 at 12:28 AM

content-widget.cshtml is an alternate. It doesn't exist until you create it. Just copy content.cshtml into your theme and rename it content-widget.cshtml.