summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/templates/site.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/theme/templates/site.html b/theme/templates/site.html
index ef74bd2..af70398 100644
--- a/theme/templates/site.html
+++ b/theme/templates/site.html
@@ -39,13 +39,21 @@
{% block javascript %}
{% parent %}
{% for resource in plugins.resources.js %}
-<script src="{{ staticBase }}/plugins/{{ resource.path }}"></script>
+ {% if resource.url %}
+ <script src="{{ resource.url }}"></script>
+ {% else %}
+ <script src="{{ staticBase }}/plugins/{{ resource.path }}"></script>
+ {% endif %}
{% endfor %}
{% endblock %}
{% block style %}
{% parent %}
{% for resource in plugins.resources.css %}
-<link rel="stylesheet" href="{{ staticBase }}/plugins/{{ resource.path }}">
+ {% if resource.url %}
+ <link rel="stylesheet" href="{{ resource.url }}">
+ {% else %}
+ <link rel="stylesheet" href="{{ staticBase }}/plugins/{{ resource.path }}">
+ {% endif %}
{% endfor %}
{% endblock %}