silverstripe-blog/templates/Includes/TrackBacks.ss
Naomi Guyer d33e209ee5 ENHANCEMENT: Template changes
Updated template elements for 3.0.
Made html follow proper heading hierarchy
Optimized generated html so it can be more easily styled.
2012-08-17 15:55:08 +12:00

21 lines
515 B
Scheme

<div id="TrackBacks_holder" class="typography">
<h4>TrackBacks</h4>
<% if TrackBacks %>
<ul id="TrackBacks">
<% loop TrackBacks %>
<li>
<a href="$Url"><% if Title %>$Title<% else %>$Url<% end_if %></a> <span class="date">on $Created.Nice</span>
<% if Excerpt %><p class="excerpt">$Excerpt</p><% end_if %>
</li>
<% end_loop %>
</ul>
<% else %>
<p>No TrackBacks have been submitted for this page.</p>
<% end_if %>
<a href="$TrackBackPingLink">Trackback URL for this page.</a>
</div>