mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
ENHANCEMENT: created BlogTree default template
This commit is contained in:
parent
5a5cdf1aaf
commit
1d4d7c88a8
23
templates/Layout/BlogTree.ss
Normal file
23
templates/Layout/BlogTree.ss
Normal file
@ -0,0 +1,23 @@
|
||||
<% 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') %> $SelectedDate.Month $SelectedDate.Year</h3>
|
||||
<% end_if %>
|
||||
|
||||
<% if BlogEntries %>
|
||||
<% control BlogEntries %>
|
||||
<% include BlogSummary %>
|
||||
<% end_control %>
|
||||
<% else %>
|
||||
<h3><% _t('NOENTRIES', 'There are no blog entries') %></h3>
|
||||
<% end_if %>
|
||||
|
||||
<% include BlogPagination %>
|
||||
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user