diff options
Diffstat (limited to 'templates/news/add.html')
-rw-r--r-- | templates/news/add.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/news/add.html b/templates/news/add.html index dca8fe8..5109465 100644 --- a/templates/news/add.html +++ b/templates/news/add.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load static from staticfiles %} {% block title %}Arch Linux - 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> |