mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
d33e209ee5
Updated template elements for 3.0. Made html follow proper heading hierarchy Optimized generated html so it can be more easily styled.
23 lines
574 B
Scheme
23 lines
574 B
Scheme
<% include BlogSideBar %>
|
|
|
|
<div id="BlogContent" class="blogcontent typography">
|
|
|
|
<% include BreadCrumbs %>
|
|
|
|
<% if SelectedTag %>
|
|
<h3><% _t('VIEWINGTAGGED', 'Viewing entries tagged with') %> '$SelectedTag'</h3>
|
|
<% else_if SelectedDate %>
|
|
<h3><% _t('VIEWINGPOSTEDIN', 'Viewing entries posted in') %> $SelectedNiceDate</h3>
|
|
<% end_if %>
|
|
|
|
<% if BlogEntries %>
|
|
<% control BlogEntries %>
|
|
<% include BlogSummary %>
|
|
<% end_control %>
|
|
<% else %>
|
|
<h2><% _t('NOENTRIES', 'There are no blog entries') %></h2>
|
|
<% end_if %>
|
|
|
|
<% include BlogPagination %>
|
|
|
|
</div> |