Revert "Temp disable popular tags and news banner."
This reverts commit f9a44ab192.
This commit is contained in:
@@ -176,12 +176,10 @@ module PostSets
|
|||||||
end
|
end
|
||||||
|
|
||||||
def popular_tags
|
def popular_tags
|
||||||
return []
|
|
||||||
ReportbooruService.new.popular_searches(Date.today, limit: MAX_SIDEBAR_TAGS)
|
ReportbooruService.new.popular_searches(Date.today, limit: MAX_SIDEBAR_TAGS)
|
||||||
end
|
end
|
||||||
|
|
||||||
def similar_tags
|
def similar_tags
|
||||||
return []
|
|
||||||
RelatedTagCalculator.cached_similar_tags_for_search(normalized_query(implicit: false), MAX_SIDEBAR_TAGS)
|
RelatedTagCalculator.cached_similar_tags_for_search(normalized_query(implicit: false), MAX_SIDEBAR_TAGS)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
<%= raw Danbooru.config.custom_html_header_content %>
|
<%= raw Danbooru.config.custom_html_header_content %>
|
||||||
</head>
|
</head>
|
||||||
<%= tag.body **body_attributes(CurrentUser.user, params, @current_item) do %>
|
<%= tag.body **body_attributes(CurrentUser.user, params, @current_item) do %>
|
||||||
<%#= render "news_updates/listing" %>
|
<%= render "news_updates/listing" %>
|
||||||
|
|
||||||
<header id="top">
|
<header id="top">
|
||||||
<%= link_to Danbooru.config.app_name, root_path, id: "app-name-header", class: "heading" %>
|
<%= link_to Danbooru.config.app_name, root_path, id: "app-name-header", class: "heading" %>
|
||||||
|
|||||||
Reference in New Issue
Block a user