silverstripe-webpack/app/templates/SilverStripe/Blog/Model/Layout/BlogPost.ss

35 lines
853 B
Scheme
Raw Normal View History

<div id="PageContainer" class="page{$CSSClass} action{$Action}">
<article class="blog-entry">
<% if $FeaturedImage %>
<div id="CarouselTop" class="carousel slide js-carousel d-none d-sm-block">
<div class="carousel-inner">
2020-02-12 21:31:59 +01:00
<div class="carousel-item active">
<img class="d-block w-100" src="$FeaturedImage.Fill(1200,400).URL" alt="$Title">
</div>
</div>
</div>
<% end_if %>
<% include Content %>
<div class="page-content">
<div class="element">
<div class="container">
<% include SilverStripe\\Blog\\EntryMeta %>
</div>
</div>
</div>
</article>
<% if $CommentsForm %>
<div class="page-content">
<div class="element">
$CommentsForm
</div>
</div>
<% end_if %>
</div>
<%-- include SilverStripe\\Blog\\BlogSideBar --%>