mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 10:08:20 -05:00
37c5909a31
FEATURE: new 'default_opengraph_image_url' setting
17 lines
529 B
Text
17 lines
529 B
Text
<h2><%= @user.username %></h2>
|
|
|
|
<% unless @restrict_fields %>
|
|
<p><%= raw @user.user_profile.bio_processed %></p>
|
|
<% end %>
|
|
|
|
<% content_for :head do %>
|
|
<% if @restrict_fields %>
|
|
<%= raw crawlable_meta_data(title: @user.username, image: @user.small_avatar_url) %>
|
|
<% else %>
|
|
<%= raw crawlable_meta_data(title: @user.username, description: @user.user_profile.bio_summary, image: @user.small_avatar_url) %>
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<% content_for :title do %>
|
|
<%= t("js.user.profile")%> - <%= @user.username %>
|
|
<% end %>
|