mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Server simplebar ourselve, don't depend on unpkg.com ..
This commit is contained in:
parent
ec8afd9720
commit
6248ffb2a6
1 changed files with 1 additions and 1 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
{% block javascripts %}
|
||||
{% do assets.addJs('jquery', 101) %}
|
||||
{% do assets.addJs('theme://js/simplebar.min.js', { group:'bottom' }) %}
|
||||
{% do assets.addJs('theme://js/learn4.js', { group:'bottom' }) %}
|
||||
{% do assets.addJs('theme://js/darkMode.js', { group:'bottom' }) %}
|
||||
{% endblock %}
|
||||
|
@ -74,7 +75,6 @@
|
|||
</div>
|
||||
|
||||
{% block bottom %}
|
||||
<script src="https://unpkg.com/simplebar@4.0.0-alpha.4/dist/simplebar.min.js"></script>
|
||||
{{ assets.js('bottom')|raw }}
|
||||
{% endblock %}
|
||||
</body>
|
||||
|
|
Loading…
Add table
Reference in a new issue