mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
29 lines
1.1 KiB
Scheme
29 lines
1.1 KiB
Scheme
<div class="blogSummary">
|
|
<h2 class="postTitle"><a href="$Link" title="<% _t('BlogSummary_ss.VIEWFULL', 'View full post titled -') %> '$Title'">$MenuTitle</a></h2>
|
|
<p class="authorDate"><% _t('BlogSummary_ss.POSTEDBY', 'Posted by') %> $Author.XML <% _t('BlogSummary_ss.POSTEDON', 'on') %> $Date.Long | <a href="$Link#PageComments_holder" title="View Comments Posted">$Comments.Count <% _t('BlogEntry_ss.COMMENTS', 'Comments') %></a></p>
|
|
<% if TagsCollection %>
|
|
<p class="tags">
|
|
<% _t('BlogSummary_ss.TAGS','Tags') %>:
|
|
<% loop TagsCollection %>
|
|
<a href="$Link" title="View all posts tagged '$Tag'" rel="tag">$Tag</a><% if not Last %>,<% end_if %>
|
|
<% end_loop %>
|
|
</p>
|
|
<% end_if %>
|
|
|
|
<% if BlogHolder.ShowFullEntry %>
|
|
$Content
|
|
<% else %>
|
|
<p>$Content.FirstParagraph(html)</p>
|
|
<% end_if %>
|
|
|
|
<p class="blogVitals">
|
|
<a href="$Link#PageComments_holder" class="comments" title="View Comments for this post">
|
|
$Comments.Count <% _t('BlogSummary_ss.SUMMARYCOMMENTS','comment(s)') %>
|
|
</a>
|
|
|
|
|
<a href="$Link" class="readmore" title="Read Full Post">
|
|
<% _t('BlogSummary_ss.READFULLPOST','Read the full post') %>
|
|
</a>
|
|
</p>
|
|
</div>
|