mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 09:05:58 +00:00
Fixing template deprecation
This commit is contained in:
parent
a0736df537
commit
7ecffc568a
@ -8,9 +8,9 @@
|
||||
<% if TagsCollection %>
|
||||
<p class="tags">
|
||||
<% _t('TAGS', 'Tags:') %>
|
||||
<% control TagsCollection %>
|
||||
<% loop TagsCollection %>
|
||||
<a href="$Link" title="<% _t('VIEWALLPOSTTAGGED', 'View all posts tagged') %> '$Tag'" rel="tag">$Tag</a><% if not Last %>,<% end_if %>
|
||||
<% end_control %>
|
||||
<% end_loop %>
|
||||
</p>
|
||||
<% end_if %>
|
||||
$Content
|
||||
|
@ -13,9 +13,9 @@
|
||||
<% end_if %>
|
||||
|
||||
<% if BlogEntries %>
|
||||
<% control BlogEntries %>
|
||||
<% loop BlogEntries %>
|
||||
<% include BlogSummary %>
|
||||
<% end_control %>
|
||||
<% end_loop %>
|
||||
<% else %>
|
||||
<h2><% _t('NOENTRIES', 'There are no blog entries') %></h2>
|
||||
<% end_if %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user