diff --git a/app/views/layouts/default.html.erb b/app/views/layouts/default.html.erb index eef5387eb..11ce6355b 100644 --- a/app/views/layouts/default.html.erb +++ b/app/views/layouts/default.html.erb @@ -8,7 +8,7 @@ - <% unless CurrentUser.user.blacklisted_tags.blank? %> + <% if CurrentUser.user.blacklisted_tags.present? %> "> <% end %> <% if flash[:notice] =~ /error/ %> @@ -19,9 +19,9 @@ <%= auto_discovery_link_tag :atom, posts_path(:format => "atom", :tags => params[:tags]) %> <%= stylesheet_link_tag "application", :media => "screen" %> - + <% if CurrentUser.user.custom_style.present? %> + + <% end %> <%= javascript_include_tag "application" %> <%= raw Danbooru.config.custom_html_header_content %> <%= yield :html_header %>