silverstripe-blog/templates/Includes/MemberDetails.ss
2015-11-13 15:06:29 +13:00

14 lines
330 B
Scheme

<section>
<h1>$CurrentProfile.FirstName $CurrentProfile.Surname</h1>
<div>
<% if $CurrentProfile.BlogProfileImage %>
<div class="profile-image">
$CurrentProfile.BlogProfileImage.setWidth(180)
</div>
<% end_if %>
<div class="profile-summary">
<p>$CurrentProfile.BlogProfileSummary</p>
</div>
</div>
</section>