Skip to content
Snippets Groups Projects
Commit 22954aaf authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

ability to inject js file

parent 8f9ced1f
No related branches found
No related tags found
No related merge requests found
Pipeline #15795 passed
......@@ -3,6 +3,13 @@
{% load static %}
{% load i18n %}
{% block extra_js %}
{{block.super}}
{% if extra_js_file %}
<script src="{% static extra_js_file %}"></script>
{% endif%}
{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block page_title %}{{ page_title|default:title }}{% endblock %}
......
......@@ -3,6 +3,13 @@
{% load static %}
{% load i18n %}
{% block extra_js %}
{{block.super}}
{% if extra_js_file %}
<script src="{% static extra_js_file %}"></script>
{% endif%}
{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block page_title %}{{ page_title|default:title }}{% endblock %}
......
......@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup(
name='django-basetheme-bootstrap',
version='0.2.21',
version='0.2.22',
description='Django Basetheme Bootstrap',
long_description=readme,
author='Bryan Brancotte',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment