diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-08-24 04:33:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 04:33:27 +0200 |
commit | a2cabf3f4af9271d8bfdb13c1ae2b7a8b4e6fb88 (patch) | |
tree | b47c76434e800374b628a1dfeff7b8475dbbc006 /app/views/layouts | |
parent | 23752639b20abd26eefb199172da9fc3ceae172e (diff) |
Add admin custom CSS setting (#8399)
Fix #3894
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-x | app/views/layouts/application.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index df898d5a2..68a903197 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -19,6 +19,9 @@ = javascript_pack_tag "locale_#{I18n.locale}", integrity: true, crossorigin: 'anonymous' = csrf_meta_tags + - if Setting.custom_css.present? + = stylesheet_link_tag custom_css_path, media: 'all' + = yield :header_tags - body_classes ||= @body_classes || '' |