Simplify mkdocs jquery inclusion by using overrides

instead of partials
This commit is contained in:
Matthias
2021-06-20 09:37:32 +02:00
parent 347eceeda5
commit 7f434c0413
3 changed files with 11 additions and 73 deletions

10
docs/overrides/main.html Normal file
View File

@@ -0,0 +1,10 @@
{% extends "base.html" %}
{% block footer %}
{{ super() }}
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
{% endblock %}