I am using Orchard 1.8, have created a new theme, and am trying to implement the Blog Post List as a Bootstrap List Group. Here is the markup that the Bootstrap List Group requires. We need to add a class to both the ul and to each li.
<ul class="list-group">
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Morbi leo risus</li>
<li class="list-group-item">Porta ac consectetur ac</li>
<li class="list-group-item">Vestibulum at eros</li>
</ul>
I am stuck on step three of my implementation.
- Add Bootstrap to the Layout. Done.
- Add a
list-groupclass to theulof the Parts_Blogs_BlogPost_List shape. Done. - Add a
list-group-itemclass to eachli. Not Done.
How do I add a list-group-item class to each li?
Add Bootstrap to the Layout. Done.

Add a list-group class to the ul of the Parts_Blogs_BlogPost_List shape. Done.

When doing my implementation, I used Shape Tracing to determine that I needed to modify the Parts_Blogs_BlogPost_List shape and its Parts.Blogs.BlogPost.List.cshtml template to add the list-group class to the ul element. How, though, do we add a list-group-item to each li element?
