Render canonical url (#632)
This commit is contained in:
parent
191588b34b
commit
b946bb5530
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@
|
|||
<% if should_show_updated_on?(@article) %>
|
||||
<span class="published-at updated-at"><em>Updated on <span itemprop="dateModified"><%= @article.edited_at.strftime("%b %d, %Y") if @article.edited_at %></span> </em></span>
|
||||
<% elsif should_show_crossposted_on?(@article) %>
|
||||
<span class="published-at updated-at"><em>Originally published at <a href="<%= @article.feed_source_url %>" style="color:#1395b8"><%= get_host_without_www(@article.feed_source_url) %></a> on <span class="posted-date-inline"><%= @article.published_at.strftime("%b %d, %Y") if @article.crossposted_at %></span></em></span>
|
||||
<span class="published-at updated-at"><em>Originally published at <a href="<%= @article.canonical_url || @article.feed_source_url %>" style="color:#1395b8"><%= get_host_without_www(@article.canonical_url || @article.feed_source_url) %></a> on <span class="posted-date-inline"><%= @article.published_at.strftime("%b %d, %Y") if @article.crossposted_at %></span></em></span>
|
||||
<% end %>
|
||||
<span class="action-space" id="action-space"></span>
|
||||
</h3>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue