silverstripe-blog/templates/Layout/BlogHolder.ss
Naomi Guyer d33e209ee5 ENHANCEMENT: Template changes
Updated template elements for 3.0.
Made html follow proper heading hierarchy
Optimized generated html so it can be more easily styled.
2012-08-17 15:55:08 +12:00

32 lines
661 B
Scheme

<% include BlogSideBar %>
<div id="BlogContent" class="blogcontent typography">
<% include BreadCrumbs %>
<% if SelectedTag %>
<div class="selectedTag">
<em>
<% _t('VIEWINGTAGGED', 'Viewing entries tagged with') %> '$SelectedTag'
</em>
</div>
<% else_if SelectedDate %>
<div class="selectedTag">
<em>
<% _t('VIEWINGPOSTEDIN', 'Viewing entries posted in') %> $SelectedNiceDate
</em>
</div>
<% end_if %>
<% if BlogEntries %>
<% loop BlogEntries %>
<% include BlogSummary %>
<% end_loop %>
<% else %>
<h2><% _t('NOENTRIES', 'There are no blog entries') %></h2>
<% end_if %>
<% include BlogPagination %>
</div>