diff --git a/app/views/layouts/_main_links.html.erb b/app/views/layouts/_main_links.html.erb deleted file mode 100644 index 634614c5c..000000000 --- a/app/views/layouts/_main_links.html.erb +++ /dev/null @@ -1,20 +0,0 @@ -
diff --git a/app/views/layouts/default.html.erb b/app/views/layouts/default.html.erb index 3c69dc1da..d6202b4b7 100644 --- a/app/views/layouts/default.html.erb +++ b/app/views/layouts/default.html.erb @@ -56,8 +56,19 @@ <%= yield :html_header %> <%= raw Danbooru.config.custom_html_header_content %> + <%= tag.body **body_attributes(CurrentUser.user, params, @current_item, @exception) do %> - <%= render "news_updates/listing" %> + <% if NewsUpdate.recent.present? %> + + <% end %>