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>
|
||||
|
||||
<p><%= raw @user.bio_processed %></p>
|
||||
<p><%= raw @user.user_profile.bio_processed %></p>
|
||||
|
||||
<p><%= t 'powered_by_html' %></p>
|
||||
|
||||
<% 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 %>
|
||||
|
||||
<% content_for :title do %><%=t("js.user.profile")%> - <%= @user.username %><% end %>
|
||||
|
|
Loading…
Reference in New Issue