2019-07-22 22:52:35 +08:00
|
|
|
<div class="user-crawler">
|
2019-09-12 08:41:50 +08:00
|
|
|
<img src='<%= ::UrlHelper.local_cdn_url(get_absolute_image_url(@user.small_avatar_url)) %>' alt='<%= @user.username %>' title='<%= @user.username %>' />
|
2019-07-22 22:52:35 +08:00
|
|
|
<h2 class='username'><%= @user.username %></h2>
|
|
|
|
</div>
|
2013-03-09 04:04:37 +08:00
|
|
|
|
2014-11-28 02:51:13 +08:00
|
|
|
<% unless @restrict_fields %>
|
2014-06-14 02:54:27 +08:00
|
|
|
<p><%= raw @user.user_profile.bio_processed %></p>
|
2014-11-28 02:51:13 +08:00
|
|
|
<% end %>
|
2013-03-09 04:04:37 +08:00
|
|
|
|
|
|
|
<% content_for :head do %>
|
2014-11-28 02:51:13 +08:00
|
|
|
<% if @restrict_fields %>
|
2015-10-15 17:00:47 +08:00
|
|
|
<%= raw crawlable_meta_data(title: @user.username, image: @user.small_avatar_url) %>
|
2014-11-28 02:51:13 +08:00
|
|
|
<% else %>
|
2015-10-15 17:00:47 +08:00
|
|
|
<%= raw crawlable_meta_data(title: @user.username, description: @user.user_profile.bio_summary, image: @user.small_avatar_url) %>
|
2014-11-28 02:51:13 +08:00
|
|
|
<% end %>
|
2013-03-09 04:04:37 +08:00
|
|
|
<% end %>
|
2013-07-08 13:55:43 +08:00
|
|
|
|
2014-11-28 02:51:13 +08:00
|
|
|
<% content_for :title do %>
|
2017-06-13 01:50:30 +08:00
|
|
|
<%= t("js.user.profile")%> - <%= @user.username %> - <%= SiteSetting.title %>
|
2014-11-28 02:51:13 +08:00
|
|
|
<% end %>
|