mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
29 lines
834 B
Scheme
29 lines
834 B
Scheme
|
<div class="post-summary">
|
||
|
<h2>
|
||
|
<a href="$Link" title="<%t Blog.ReadMoreAbout "Read more about '{title}'..." title=$Title %>">
|
||
|
<% if $MenuTitle %>$MenuTitle
|
||
|
<% else %>$Title<% end_if %>
|
||
|
</a>
|
||
|
</h2>
|
||
|
|
||
|
<p class="post-image">
|
||
|
<a href="$Link" <%t Blog.ReadMoreAbout "Read more about '{title}'..." title=$Title %>>
|
||
|
$FeaturedImage.setWidth(795)
|
||
|
</a>
|
||
|
</p>
|
||
|
|
||
|
<% if $Excerpt %>
|
||
|
<p>
|
||
|
$Excerpt
|
||
|
<a href="$Link">
|
||
|
<%t Blog.ReadMoreAbout "Read more about '{title}'..." title=$Title %>
|
||
|
</a>
|
||
|
</p>
|
||
|
<% else %>
|
||
|
<p><a href="$Link">
|
||
|
<%t Blog.ReadMoreAbout "Read more about '{title}'..." title=$Title %>
|
||
|
</a></p>
|
||
|
<% end_if %>
|
||
|
|
||
|
<% include EntryMeta %>
|
||
|
</div>
|