Page title includes page number for web crawlers
This commit is contained in:
parent
88d9f3a786
commit
b9bda77abd
|
@ -21,4 +21,6 @@
|
|||
<%= auto_discovery_link_tag(@category, {action: :category_feed, format: :rss}, title: t('rss_topics_in_category', category: @category.name), type: 'application/rss+xml') %>
|
||||
<% end %>
|
||||
<% content_for :title do %><%=@category.name%> <%=t('topics')%><% end %>
|
||||
<% elsif params[:page] %>
|
||||
<% content_for :title do %><%=t 'page_num', num: params[:page].to_i + 1 %><% end %>
|
||||
<% end %>
|
||||
|
|
|
@ -73,6 +73,7 @@ en:
|
|||
invalid_characters: "contains invalid characters"
|
||||
is_invalid: "is invalid; try to be a little more descriptive"
|
||||
next_page: "next page →"
|
||||
page_num: "Page %{num}"
|
||||
by: "By"
|
||||
topics_in_category: "Topics in the '%{category}' category"
|
||||
rss_posts_in_topic: "RSS feed of '%{topic}'"
|
||||
|
|
Loading…
Reference in New Issue