%- canonical = capture{yield :canonical} if canonical %> <%- end %> > <%= javascript_include_tag "preload_store" %> <%# The fonts are loaded outside of the stylesheet so that we can dynamically change the path. This is to get around CDN caching on the Origin: https://forums.aws.amazon.com/thread.jspa?threadID=114646 %> <%- font_domain = "#{request.protocol}#{request.host_with_port}" %> <%- unless SiteCustomization.override_default_style(session[:preview_style]) %> <%- if params[:shiny] %> <%=stylesheet_link_tag "shiny/shiny"%> <%- else %> <%=stylesheet_link_tag "application"%> <%- end %> <%- end %> <%- if mini_profiler_enabled? %> <%- Rack::MiniProfiler.step "stylsheet" do%> <%= stylesheet_link_tag "admin"%> <%-end%> <%- elsif admin? %> <%= stylesheet_link_tag "admin"%> <%-end%> <%=SiteCustomization.custom_stylesheet(session[:preview_style])%> <%=csrf_meta_tags%>
<%=SiteCustomization.custom_header(session[:preview_style])%>