summaryrefslogtreecommitdiff
path: root/yaksh/templates/base.html
diff options
context:
space:
mode:
authoradityacp2019-12-20 15:34:23 +0530
committeradityacp2019-12-20 15:43:25 +0530
commitd60050dcfe7e32dc720e48942c7457860da79d6b (patch)
tree1d82d6e9c21954bbe2995a89615a19becdeb7945 /yaksh/templates/base.html
parent2e4c36969b18b9ebf09314d7a04094a7debe4387 (diff)
downloadonline_test-d60050dcfe7e32dc720e48942c7457860da79d6b.tar.gz
online_test-d60050dcfe7e32dc720e48942c7457860da79d6b.tar.bz2
online_test-d60050dcfe7e32dc720e48942c7457860da79d6b.zip
Use reverse url instead of traditional url in templates
Diffstat (limited to 'yaksh/templates/base.html')
-rw-r--r--yaksh/templates/base.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html
index e300a76..9021e3d 100644
--- a/yaksh/templates/base.html
+++ b/yaksh/templates/base.html
@@ -1,3 +1,4 @@
+{% load static %}
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
@@ -14,12 +15,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/bootstrap.min.css">
-
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/custom.css" type="text/css" />
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/animate.min.css" type="text/css" />
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/font-awesome.css" type="text/css" />
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/ontop.css" type="text/css" />
+ <link rel="stylesheet" href="{% static 'yaksh/css/bootstrap.min.css' %}">
+ <link rel="stylesheet" href="{% static 'yaksh/css/custom.css' %}" type="text/css" />
+ <link rel="stylesheet" href="{% static 'yaksh/css/animate.min.css' %}" type="text/css" />
+ <link rel="stylesheet" href="{% static 'yaksh/css/font-awesome.css' %}" type="text/css" />
+ <link rel="stylesheet" href="{% static 'yaksh/css/ontop.css' %}" type="text/css" />
{% block meta %}
@@ -33,10 +33,10 @@
- <script language="JavaScript" type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/popper.min.js"></script>
- <script language="JavaScript" type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/jquery-3.3.1.min.js"></script>
- <script language="JavaScript" type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/bootstrap.min.js"></script>
- <script language="JavaScript" type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/wow.min.js"></script>
+ <script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/popper.min.js' %}"></script>
+ <script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/jquery-3.3.1.min.js' %}"></script>
+ <script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/bootstrap.min.js' %}"></script>
+ <script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/wow.min.js' %}"></script>
<script>
new WOW().init();