2018-08-13 14:13:55 +02:00
|
|
|
<div class="blog-post-info card">
|
2018-07-02 03:54:18 +02:00
|
|
|
<div class="published-date">
|
|
|
|
<div class="day">$PublishDate.Format("d")</div>
|
|
|
|
<div class="month">$PublishDate.Format("MMM")</div>
|
|
|
|
</div>
|
|
|
|
<% if $FeaturedImage %>
|
2018-08-13 14:13:55 +02:00
|
|
|
<div class="img card-img-top">
|
2020-02-07 20:51:42 +01:00
|
|
|
<a href="$Link">
|
|
|
|
<img
|
|
|
|
src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
|
|
|
|
data-lazy-src="$FeaturedImage.Fill(350,200).URL" alt="$Title.ATT"
|
|
|
|
/>
|
|
|
|
</a>
|
2018-07-02 03:54:18 +02:00
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
|
2018-08-13 14:13:55 +02:00
|
|
|
<div class="card-body">
|
|
|
|
<h5 class="card-title title">
|
|
|
|
<a href="$Link.ATT" title="Go to the $Title post">
|
|
|
|
$Title
|
|
|
|
</a>
|
|
|
|
</h5>
|
2018-07-02 03:54:18 +02:00
|
|
|
|
2018-08-13 14:13:55 +02:00
|
|
|
<div class="card-text typography summary">
|
|
|
|
$Summary
|
|
|
|
</div>
|
2018-07-02 03:54:18 +02:00
|
|
|
|
2018-08-13 14:13:55 +02:00
|
|
|
<a href="{$Link}" class="btn btn-link"><%t SilverStripe\\Blog\\Model\\Blog.READMORE "Read More" %> »</a>
|
2018-07-02 03:54:18 +02:00
|
|
|
|
2018-08-13 14:13:55 +02:00
|
|
|
<% include SilverStripe\\Blog\\EntryMeta %>
|
|
|
|
</div>
|
|
|
|
</div>
|