<% content_for :meta_title, @member.name %> <% content_for :meta_description, "Public profile for #{@member.name}" %>
<% if @member.other_name.present? %>

<%= @member.other_name %>
<%= @member.name %>

<% else %>

<%= @member.name %>

<% end %> <% if Profile.find(@member.id).portrait.present? %>

<%= image_tag Profile.find(@member.id).portrait_url(:small), title: @member.name, alt: @member.name, id: 'profile-portrait' %>

<% end %>
<%= render 'profiles/custom_public_profile_attributes', member: @member %>
website<%= link_to abridged_url(@member.website_url), @member.website_url, rel: 'nofollow' %>
facebook<%= link_to abridged_url(@member.facebook_url), @member.facebook_url, rel: 'nofollow' %>
twitter<%= @member.twitter_handle.present? ? link_to( @member.twitter_handle, "https://twitter.com/#{@member.twitter_handle}", rel: 'nofollow' ) : '' %>
google+<%= link_to abridged_url(@member.google_plus_url), @member.google_plus_url, rel: 'nofollow' %>
<%= render 'admin_context_menu', member: @member %>