summaryrefslogtreecommitdiff
path: root/templates/news
diff options
context:
space:
mode:
Diffstat (limited to 'templates/news')
-rw-r--r--templates/news/add.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/news/add.html b/templates/news/add.html
index 9e95072b..433218a0 100644
--- a/templates/news/add.html
+++ b/templates/news/add.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load static from staticfiles %}
{% block title %}Parabola - News: {% if form.instance.id %}Edit{% else %}Add{% endif %} Article{% endblock %}
{% block content %}
@@ -33,7 +34,7 @@
<div id="news-preview-data" class="article-content"></div>
</div>
{% load cdn %}{% jquery %}
-<script type="text/javascript" src="{{ STATIC_URL }}archweb.js"></script>
+<script type="text/javascript" src="{% static "archweb.js" %}"></script>
<script type="text/javascript">
$(document).ready(enablePreview);
</script>