#1817: Move custom style to separate file

This commit is contained in:
Toks
2013-07-19 10:02:08 -04:00
parent 22bd07072a
commit 088fcfd151
4 changed files with 4 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
<%= auto_discovery_link_tag :atom, posts_path(:format => "atom", :tags => params[:tags]) %>
<%= stylesheet_link_tag "application", :media => "screen" %>
<% if CurrentUser.user.custom_style.present? %>
<style><%= CurrentUser.user.custom_style %></style>
<%= stylesheet_link_tag custom_style_users_path, :media => "screen" %>
<% end %>
<%= javascript_include_tag "application" %>
<%= raw Danbooru.config.custom_html_header_content %>