Enable css from plugins in page output

This commit is contained in:
Samy Pessé
2014-09-17 13:10:36 +02:00
parent 11b299653f
commit 60c721db40
+7
View File
@@ -4,6 +4,13 @@
{% block style %}
<link rel="stylesheet" href="{{ staticBase }}/print.css">
{% for resource in plugins.resources.css %}
{% if resource.url %}
<link rel="stylesheet" href="{{ resource.url }}">
{% else %}
<link rel="stylesheet" href="{{ staticBase }}/plugins/{{ resource.path }}">
{% endif %}
{% endfor %}
{% endblock %}