Commit 22954aaf authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE

ability to inject js file

parent 8f9ced1f
Pipeline #15795 passed with stage
in 32 seconds
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment