FIX: remove double jquery import
There is no need to have a double jquery import, leave the jquery import to the basic sphinx theme (it uses the same version anyway).
This commit is contained in:
parent
6dd4823beb
commit
f2b5997bd2
@ -22,14 +22,8 @@
|
||||
integrity="sha512-wsnDgOxfyn4lhblRMHPMuJh+9CnLcwcisda1zLRGNWKh6OiQynebYTyRZYgH+eWLEdNTKak0OD2GAd/S51UhTw=="
|
||||
crossorigin="anonymous"></script>
|
||||
{{ super() }}
|
||||
{# NOTE: Sphinx basic theme already imports JQuery, underscore and doctools by default.
|
||||
For some reason JQuery is not found for the custom code below if we do not reimport it... #}
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
|
||||
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
|
||||
crossorigin="anonymous"></script>
|
||||
{# TODO EDI boostrap beta cdn ??? Isn't there a stable CDN ? It looks like this cdn won't exist forever :D #}
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript">$.noConflict(true);</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block linktags %}
|
||||
|
Loading…
Reference in New Issue
Block a user