I want my header and footer HTML not to bem written in the case that the datasource has no items.
How do I do that?
I would recommend setting the Repeater visibility to false if the datasource has no items.