silverstripe-blog/templates/Layout/BlogHolder.ss

32 lines
661 B
Scheme
Raw Normal View History

2012-05-21 04:58:26 +02:00
<% 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>
2012-05-21 04:58:26 +02:00
<% else_if SelectedDate %>
<div class="selectedTag">
<em>
<% _t('VIEWINGPOSTEDIN', 'Viewing entries posted in') %> $SelectedNiceDate
</em>
</div>
2012-05-21 04:58:26 +02:00
<% end_if %>
<% if BlogEntries %>
<% loop BlogEntries %>
<% include BlogSummary %>
<% end_loop %>
2012-05-21 04:58:26 +02:00
<% else %>
<h2><% _t('NOENTRIES', 'There are no blog entries') %></h2>
2012-05-21 04:58:26 +02:00
<% end_if %>
<% include BlogPagination %>
</div>