= stylesheet_link_tag '/inert.css', skip_pipeline: true, media: 'all', id: 'inert-style'
+ = yield :header_tags
+
+ -# These must come after :header_tags to ensure our initial state has been defined.
+ = render partial: 'layouts/theme', object: @core
+ = render partial: 'layouts/theme', object: @theme
+
- if Setting.custom_css.present?
- = stylesheet_link_tag custom_css_path, media: 'all'
+ = stylesheet_link_tag custom_css_path, host: request.host, media: 'all'
- = yield :header_tags
-
%body{ class: body_classes }
= content_for?(:content) ? yield(:content) : yield