diff --git a/themes/yunohost-docs/templates/partials/base.html.twig b/themes/yunohost-docs/templates/partials/base.html.twig index 6e29f7d8..b4989e8c 100644 --- a/themes/yunohost-docs/templates/partials/base.html.twig +++ b/themes/yunohost-docs/templates/partials/base.html.twig @@ -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 @@ {% block bottom %} - {{ assets.js('bottom')|raw }} {% endblock %}