mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
47 lines
1.6 KiB
Scheme
47 lines
1.6 KiB
Scheme
<div class="blog-post-meta">
|
|
<%-- if $Categories.exists %>
|
|
<%t SilverStripe\\Blog\\Model\\Blog.PostedIn "Posted in" %>
|
|
<% loop $Categories %>
|
|
<a href="$Link" title="$Title">$Title</a><% if not Last %>, <% else %>;<% end_if %>
|
|
<% end_loop %>
|
|
<% end_if --%>
|
|
|
|
<%-- if $Tags.exists %>
|
|
<%t SilverStripe\\Blog\\Model\\Blog.Tagged "Tagged" %>
|
|
<% loop $Tags %>
|
|
<a href="$Link" title="$Title">$Title</a><% if not Last %>, <% else %>;<% end_if %>
|
|
<% end_loop %>
|
|
<% end_if --%>
|
|
|
|
<%-- t SilverStripe\\Blog\\Model\\Blog.Posted "Posted" %>
|
|
<a href="$MonthlyArchiveLink">$PublishDate.ago</a --%>
|
|
|
|
<% if $Credits %>
|
|
<%t SilverStripe\\Blog\\Model\\Blog.By "by" %>
|
|
|
|
<% loop $Credits %>
|
|
<% if not $First && not $Last %>, <% end_if %>
|
|
<% if not $First && $Last %> <%t SilverStripe\\Blog\\Model\\Blog.AND "and" %> <% end_if %>
|
|
<% if $URLSegment && not $Up.ProfilesDisabled %>
|
|
<a href="$URL">$Name.XML</a>
|
|
<% else %>
|
|
$Name.XML
|
|
<% end_if %>
|
|
<% end_loop %>
|
|
<% end_if %>
|
|
|
|
<% if $Comments.exists %>
|
|
<a href="{$Link}#comments-holder">
|
|
$Comments.count
|
|
<%t SilverStripe\\Blog\\Model\\Blog.Comments "comments" %>
|
|
</a>
|
|
<% end_if %>
|
|
|
|
<br/>
|
|
<% if $MinutesToRead < 1 %>
|
|
<%t SilverStripe\\Blog\\Model\\Blog.LessThanAMinuteToRead "Less than a minute to read" %>
|
|
<% else %>
|
|
$MinutesToRead <%t SilverStripe\\Blog\\Model\\Blog.MinutesToRead "Minute(s) to read" %>
|
|
<% end_if %>
|
|
</div>
|