Directly inject standard css + custom css and js

This commit is contained in:
Alexandre Aubin 2019-03-18 19:37:52 +01:00
parent b43d03feb5
commit 3af3c2b779

View file

@ -1,5 +1,5 @@
# Insert YunoHost panel # Insert YunoHost panel
sub_filter </head> '<script type="text/javascript" src="/ynhpanel.js"></script></head>'; sub_filter </head> '<script type="text/javascript" src="/ynhpanel.js"></script><link type="text/css" rel="stylesheet" href="/ynhpanel.css"></link><script type="text/javascript" src="/ynhtheme/custom.js"></script><link type="text/css" rel="stylesheet" href="/ynhtheme/custom.css"></link></head>';
sub_filter_once on; sub_filter_once on;
# Apply to other mime types than text/html # Apply to other mime types than text/html
sub_filter_types application/xhtml+xml; sub_filter_types application/xhtml+xml;