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

35 lines
994 B
Scheme
Raw Normal View History

<div id="PageContainer" class="page{$CSSClass} action{$Action}">
2021-01-14 17:56:34 +01:00
<article class="blog-post blog-entry">
2020-06-18 01:25:50 +02:00
<%-- 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">
2020-08-14 00:36:26 +02:00
<img class="d-block w-100" src="$FeaturedImage.FocusFill(1200,400).URL" alt="$Title">
</div>
</div>
</div>
2020-06-18 01:25:50 +02:00
<% end_if --%>
<% include Content %>
<div class="page-content">
2020-06-18 01:25:50 +02:00
<div class="element element__blog-meta">
<div class="element-container $Top.DefaultContainer">
<% include SilverStripe\\Blog\\EntryMeta %>
</div>
</div>
</div>
</article>
<% if $CommentsForm %>
2021-01-14 17:56:34 +01:00
<div class="element element__comments blog__comments blog-post__comments">
2020-06-18 01:25:50 +02:00
<div class="element-container $DefaultContainer">
$CommentsForm
</div>
</div>
<% end_if %>
</div>
<%-- include SilverStripe\\Blog\\BlogSideBar --%>