2013-03-08 14:04:37 -06:00
|
|
|
<h2><%= @user.username %></h2>
|
|
|
|
|
2014-11-27 12:51:13 -06:00
|
|
|
<% unless @restrict_fields %>
|
2014-06-13 13:54:27 -05:00
|
|
|
<p><%= raw @user.user_profile.bio_processed %></p>
|
2014-11-27 12:51:13 -06:00
|
|
|
<% end %>
|
2013-03-08 14:04:37 -06:00
|
|
|
|
|
|
|
<% content_for :head do %>
|
2014-11-27 12:51:13 -06:00
|
|
|
<% if @restrict_fields %>
|
2015-10-15 04:00:47 -05:00
|
|
|
<%= raw crawlable_meta_data(title: @user.username, image: @user.small_avatar_url) %>
|
2014-11-27 12:51:13 -06:00
|
|
|
<% else %>
|
2015-10-15 04:00:47 -05:00
|
|
|
<%= raw crawlable_meta_data(title: @user.username, description: @user.user_profile.bio_summary, image: @user.small_avatar_url) %>
|
2014-11-27 12:51:13 -06:00
|
|
|
<% end %>
|
2013-03-08 14:04:37 -06:00
|
|
|
<% end %>
|
2013-07-08 00:55:43 -05:00
|
|
|
|
2014-11-27 12:51:13 -06:00
|
|
|
<% content_for :title do %>
|
|
|
|
<%= t("js.user.profile")%> - <%= @user.username %>
|
|
|
|
<% end %>
|