mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:10:17 +08:00
FIX: crawler versions of the page need the updated bio relationships.
This commit is contained in:
parent
e3fcd3fa80
commit
17d341ff86
|
@ -1,11 +1,11 @@
|
||||||
<h2><%= @user.username %></h2>
|
<h2><%= @user.username %></h2>
|
||||||
|
|
||||||
<p><%= raw @user.bio_processed %></p>
|
<p><%= raw @user.user_profile.bio_processed %></p>
|
||||||
|
|
||||||
<p><%= t 'powered_by_html' %></p>
|
<p><%= t 'powered_by_html' %></p>
|
||||||
|
|
||||||
<% content_for :head do %>
|
<% content_for :head do %>
|
||||||
<%= crawlable_meta_data(title: @user.username, description: @user.bio_summary, image: @user.small_avatar_url) %>
|
<%= 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 %>
|
<% content_for :title do %><%=t("js.user.profile")%> - <%= @user.username %><% end %>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user