silverstripe-blog/templates/SilverStripe/Blog/Model/Layout/BlogPost.ss

21 lines
465 B
Scheme
Raw Permalink Normal View History

<% require css('silverstripe/blog: client/dist/styles/main.css') %>
<div class="blog-entry content-container <% if $SideBarView %>unit size3of4<% end_if %>">
<article>
<h1>$Title</h1>
<% if $FeaturedImage %>
<p class="post-image">$FeaturedImage.ScaleWidth(795)</p>
<% end_if %>
<div class="content">$Content</div>
2017-09-20 23:10:21 +02:00
<% include SilverStripe\\Blog\\EntryMeta %>
</article>
$Form
$CommentsForm
</div>
2017-09-20 23:10:21 +02:00
<% include SilverStripe\\Blog\\BlogSideBar %>