mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
33 lines
1.0 KiB
Scheme
33 lines
1.0 KiB
Scheme
<div class="blog-post-info card">
|
|
<div class="published-date">
|
|
<div class="day">$PublishDate.Format("d")</div>
|
|
<div class="month">$PublishDate.Format("MMM")</div>
|
|
</div>
|
|
<% if $FeaturedImage %>
|
|
<div class="img card-img-top">
|
|
<a href="$Link">
|
|
<img
|
|
src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
|
|
data-lazy-src="$FeaturedImage.Fill(350,200).URL" alt="$Title.ATT"
|
|
/>
|
|
</a>
|
|
</div>
|
|
<% end_if %>
|
|
|
|
<div class="card-body">
|
|
<h5 class="card-title title">
|
|
<a href="$Link.ATT" title="Go to the $Title post">
|
|
$Title
|
|
</a>
|
|
</h5>
|
|
|
|
<div class="card-text typography summary">
|
|
$Summary
|
|
</div>
|
|
|
|
<a href="{$Link}" class="btn btn-link"><%t SilverStripe\\Blog\\Model\\Blog.READMORE "Read More" %> »</a>
|
|
|
|
<% include SilverStripe\\Blog\\EntryMeta %>
|
|
</div>
|
|
</div>
|