mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 03:10:46 -06:00
Improved metadata for tags. (#5067)
This commit is contained in:
parent
657e5a8633
commit
fa69e0dd77
@ -90,6 +90,10 @@
|
||||
<%= auto_discovery_link_tag(:rss, { action: :category_feed }, title: t('rss_topics_in_category', category: @category.name)) %>
|
||||
<%= raw crawlable_meta_data(title: @category.name, description: @category.description) %>
|
||||
<% end %>
|
||||
<% elsif @tag_id %>
|
||||
<% content_for :head do %>
|
||||
<%= raw crawlable_meta_data(title: @title, description: @description_meta) %>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<% content_for :head do %>
|
||||
<%= raw crawlable_meta_data(title: SiteSetting.title, description: SiteSetting.site_description) %>
|
||||
|
@ -18,3 +18,7 @@
|
||||
</div>
|
||||
|
||||
<% end %>
|
||||
|
||||
<% content_for :head do %>
|
||||
<%= raw crawlable_meta_data(title: @title, description: @description_meta) %>
|
||||
<% end %>
|
||||
|
Loading…
Reference in New Issue
Block a user