2016-12-19 00:12:08 +01:00
|
|
|
<p class="blog-post-meta">
|
|
|
|
<% if $Categories.exists %>
|
2017-09-18 05:27:39 +02:00
|
|
|
<%t SilverStripe\\Blog\\Model\\Blog.PostedIn "Posted in" %>
|
2016-12-19 00:12:08 +01:00
|
|
|
<% loop $Categories %>
|
|
|
|
<a href="$Link" title="$Title">$Title</a><% if not Last %>, <% else %>;<% end_if %>
|
|
|
|
<% end_loop %>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<% if $Tags.exists %>
|
2017-09-18 05:27:39 +02:00
|
|
|
<%t SilverStripe\\Blog\\Model\\Blog.Tagged "Tagged" %>
|
2016-12-19 00:12:08 +01:00
|
|
|
<% loop $Tags %>
|
|
|
|
<a href="$Link" title="$Title">$Title</a><% if not Last %>, <% else %>;<% end_if %>
|
|
|
|
<% end_loop %>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<% if $Comments.exists %>
|
|
|
|
<a href="{$Link}#comments-holder">
|
2017-09-18 05:27:39 +02:00
|
|
|
<%t SilverStripe\\Blog\\Model\\Blog.Comments "Comments" %>
|
2016-12-19 00:12:08 +01:00
|
|
|
$Comments.count
|
|
|
|
</a>;
|
|
|
|
<% end_if %>
|
|
|
|
|
2017-09-18 05:27:39 +02:00
|
|
|
<%t SilverStripe\\Blog\\Model\\Blog.Posted "Posted" %>
|
2016-12-19 00:12:08 +01:00
|
|
|
<a href="$MonthlyArchiveLink">$PublishDate.ago</a>
|
|
|
|
|
|
|
|
<% if $Credits %>
|
2017-09-18 05:27:39 +02:00
|
|
|
<%t SilverStripe\\Blog\\Model\\Blog.By "by" %>
|
2016-12-19 00:12:08 +01:00
|
|
|
|
|
|
|
<% loop $Credits %>
|
|
|
|
<% if not $First && not $Last %>, <% end_if %>
|
2017-09-18 05:27:39 +02:00
|
|
|
<% if not $First && $Last %> <%t SilverStripe\\Blog\\Model\\Blog.AND "and" %> <% end_if %>
|
2017-11-02 20:32:03 +01:00
|
|
|
<% if $URLSegment && not $Up.ProfilesDisabled %>
|
2016-12-19 00:12:08 +01:00
|
|
|
<a href="$URL">$Name.XML</a>
|
|
|
|
<% else %>
|
|
|
|
$Name.XML
|
|
|
|
<% end_if %>
|
|
|
|
<% end_loop %>
|
|
|
|
<% end_if %>
|
|
|
|
</p>
|