Revert "Temp disable popular tags and news banner."

This reverts commit f9a44ab192.
This commit is contained in:
evazion
2020-11-12 20:15:45 -06:00
parent 7f90bc4216
commit dc712258cf
2 changed files with 1 additions and 3 deletions

View File

@@ -176,12 +176,10 @@ module PostSets
end
def popular_tags
return []
ReportbooruService.new.popular_searches(Date.today, limit: MAX_SIDEBAR_TAGS)
end
def similar_tags
return []
RelatedTagCalculator.cached_similar_tags_for_search(normalized_query(implicit: false), MAX_SIDEBAR_TAGS)
end

View File

@@ -47,7 +47,7 @@
<%= raw Danbooru.config.custom_html_header_content %>
</head>
<%= tag.body **body_attributes(CurrentUser.user, params, @current_item) do %>
<%#= render "news_updates/listing" %>
<%= render "news_updates/listing" %>
<header id="top">
<%= link_to Danbooru.config.app_name, root_path, id: "app-name-header", class: "heading" %>