silverstripe-webpack/app/templates/SilverStripe/Blog/Includes/BlogPostInfo.ss

32 lines
880 B
Scheme
Raw Normal View History

2020-06-18 01:25:50 +02:00
<div class="blog-post-info">
<div class="row">
<%-- div class="published-date">
<div class="day">$PublishDate.Format("d")</div>
<div class="month">$PublishDate.Format("MMM")</div>
</div --%>
<div class="col-sm-5">
<% if $FeaturedImage %>
<div class="img card-img-top">
2020-08-14 00:36:26 +02:00
$FeaturedImage.FocusFill(350,200)
2020-06-18 01:25:50 +02:00
</div>
<% end_if %>
</div>
<div class="col-sm-7 blog-body">
<h2 class="card-title title h3">
$Title
</h2>
<div class="card-text typography summary">
$Summary
</div>
<a href="{$Link}" class="btn btn-link stretched-link">
<span class="sr-only"><%t SilverStripe\\Blog\\Model\\Blog.READMORE "Read More" %> &raquo;</span>
</a>
<% include SilverStripe\\Blog\\EntryMeta %>
</div>
</div>
</div>