Update templates to consistently use {% static %} instead of hard coding paths
[htsworkflow.git] / htsworkflow / frontend / templates / samples / species_detail.html
index b65aec61182756216d1177895b0b502ae04a1a3f..d22c9cd58b6ffad4aa5acea4df3ae72d4b868e4e 100644 (file)
@@ -1,9 +1,10 @@
 {% extends "base_site.html" %}
+{% load staticfiles %}
 {% load humanize i18n %}
 {% block extrahead %}
     <!-- App Stuff -->
-    <link type="text/css" rel="stylesheet" href="/static/css/app.css" />
-    <script type="text/javascript" src="/static/js/jquery.min.js"></script>
+    <link type="text/css" rel="stylesheet" href="{% static "css/app.css" %}" />
+    <script type="text/javascript" src="{% static 'js/jquery.min.js" %}></script>
     
     {% block additional_javascript %}
     {% endblock %}