How to get rid of <article tag> per widget

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

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

Coordinator
Oct 31, 2012 at 9:35 PM

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

Nov 5, 2012 at 2:45 PM

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

Coordinator
Nov 6, 2012 at 1: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.