We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe3ea7a + da0560a commit 18edaa1Copy full SHA for 18edaa1
mkdocs.yml
@@ -1,5 +1,8 @@
1
site_name: PyScript
2
3
+extra_javascript:
4
+ - javascripts/mini-coi.js
5
+
6
theme:
7
name: material
8
overrides/main.html
@@ -1,6 +1,11 @@
{% extends "base.html" %}
{% block libs %}
-<script src="./javascripts/mini-coi.js"></script>
+{%- for script in config.extra_javascript %}
+ {{ script | script_tag }}
+{%- endfor %}
{{ super() }}
{% endblock %}
9
10
+{% block scripts %}
11
+{% endblock %}
0 commit comments