diff --git a/scipost_django/scipost/templates/scipost/portal/portal.html b/scipost_django/scipost/templates/scipost/portal/portal.html index eb642eecbc627e3d060bfdb4a4e445995561e8ea..aef7104adf8467fae1adc72b02927c96d99d5064 100644 --- a/scipost_django/scipost/templates/scipost/portal/portal.html +++ b/scipost_django/scipost/templates/scipost/portal/portal.html @@ -1,10 +1,13 @@ {% extends 'scipost/base.html' %} {% load static %} -{% load render_bundle from webpack_loader %} +{% load get_files from webpack_loader %} {% block basebundle %} - {% render_bundle 'base' %} + {% get_files 'base' as base_scripts %} + {% for file in base_scripts %} + <script defer src="{{ file.url }}"></script> + {% endfor %} {% endblock basebundle %} {% block body_class %}{{ block.super }} homepage home-alt{% endblock %}