Fix assets in all templates

master
Nikola Forró 6 years ago
parent 64d1ab7b59
commit d474405c69

@ -7,21 +7,19 @@
{% endblock head %} {% endblock head %}
{% block stylesheets %} {% block javascripts %}
{% do assets.addCss('/clips/assets/styles.bundle.css') %} {% do assets.addJs('/clips/assets/inline.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/clips/assets/polyfills.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/clips/assets/main.bundle.js', {group: 'bottom'}) %}
{{ parent() }} {{ parent() }}
{% endblock %} {% endblock %}
{% block bottom %} {% block stylesheets %}
{{ parent() }} {% do assets.addCss('/clips/assets/styles.bundle.css') %}
{% do assets.addJs('/clips/assets/inline.bundle.js') %}
{% do assets.addJs('/clips/assets/polyfills.bundle.js') %}
{% do assets.addJs('/clips/assets/main.bundle.js') %}
{{ assets.js() }} {{ parent() }}
{% endblock %} {% endblock %}

@ -7,21 +7,19 @@
{% endblock head %} {% endblock head %}
{% block stylesheets %} {% block javascripts %}
{% do assets.addCss('/gifted-subs/assets/styles.bundle.css') %} {% do assets.addJs('/gifted-subs/assets/inline.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/gifted-subs/assets/polyfills.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/gifted-subs/assets/main.bundle.js', {group: 'bottom'}) %}
{{ parent() }} {{ parent() }}
{% endblock %} {% endblock %}
{% block bottom %} {% block stylesheets %}
{{ parent() }} {% do assets.addCss('/gifted-subs/assets/styles.bundle.css') %}
{% do assets.addJs('/gifted-subs/assets/inline.bundle.js') %}
{% do assets.addJs('/gifted-subs/assets/polyfills.bundle.js') %}
{% do assets.addJs('/gifted-subs/assets/main.bundle.js') %}
{{ assets.js() }} {{ parent() }}
{% endblock %} {% endblock %}

@ -7,21 +7,19 @@
{% endblock head %} {% endblock head %}
{% block stylesheets %} {% block javascripts %}
{% do assets.addCss('/merchandise/assets/styles.bundle.css') %} {% do assets.addJs('/merchandise/assets/inline.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/merchandise/assets/polyfills.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/merchandise/assets/main.bundle.js', {group: 'bottom'}) %}
{{ parent() }} {{ parent() }}
{% endblock %} {% endblock %}
{% block bottom %} {% block stylesheets %}
{{ parent() }} {% do assets.addCss('/merchandise/assets/styles.bundle.css') %}
{% do assets.addJs('/merchandise/assets/inline.bundle.js') %}
{% do assets.addJs('/merchandise/assets/polyfills.bundle.js') %}
{% do assets.addJs('/merchandise/assets/main.bundle.js') %}
{{ assets.js() }} {{ parent() }}
{% endblock %} {% endblock %}

@ -11,6 +11,9 @@
{% block javascripts %} {% block javascripts %}
{% do assets.add('theme://js/singlepagenav.min.js') %} {% do assets.add('theme://js/singlepagenav.min.js') %}
{% do assets.addJs('/schedule/assets/inline.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/schedule/assets/polyfills.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/schedule/assets/main.bundle.js', {group: 'bottom'}) %}
{{ parent() }} {{ parent() }}
@ -43,12 +46,6 @@
}); });
</script> </script>
{% do assets.addJs('/schedule/assets/inline.bundle.js') %}
{% do assets.addJs('/schedule/assets/polyfills.bundle.js') %}
{% do assets.addJs('/schedule/assets/main.bundle.js') %}
{{ assets.js() }}
{% endblock %} {% endblock %}
{% block hero %} {% block hero %}

@ -7,21 +7,19 @@
{% endblock head %} {% endblock head %}
{% block stylesheets %} {% block javascripts %}
{% do assets.addCss('/quotes/assets/styles.bundle.css') %} {% do assets.addJs('/quotes/assets/inline.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/quotes/assets/polyfills.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/quotes/assets/main.bundle.js', {group: 'bottom'}) %}
{{ parent() }} {{ parent() }}
{% endblock %} {% endblock %}
{% block bottom %} {% block stylesheets %}
{{ parent() }} {% do assets.addCss('/quotes/assets/styles.bundle.css') %}
{% do assets.addJs('/quotes/assets/inline.bundle.js') %}
{% do assets.addJs('/quotes/assets/polyfills.bundle.js') %}
{% do assets.addJs('/quotes/assets/main.bundle.js') %}
{{ assets.js() }} {{ parent() }}
{% endblock %} {% endblock %}

@ -7,21 +7,19 @@
{% endblock head %} {% endblock head %}
{% block stylesheets %} {% block javascripts %}
{% do assets.addCss('/regular-subs/assets/styles.bundle.css') %} {% do assets.addJs('/regular-subs/assets/inline.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/regular-subs/assets/polyfills.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/regular-subs/assets/main.bundle.js', {group: 'bottom'}) %}
{{ parent() }} {{ parent() }}
{% endblock %} {% endblock %}
{% block bottom %} {% block stylesheets %}
{{ parent() }} {% do assets.addCss('/regular-subs/assets/styles.bundle.css') %}
{% do assets.addJs('/regular-subs/assets/inline.bundle.js') %}
{% do assets.addJs('/regular-subs/assets/polyfills.bundle.js') %}
{% do assets.addJs('/regular-subs/assets/main.bundle.js') %}
{{ assets.js() }} {{ parent() }}
{% endblock %} {% endblock %}

@ -7,21 +7,19 @@
{% endblock head %} {% endblock head %}
{% block stylesheets %} {% block javascripts %}
{% do assets.addCss('/schedule/assets/styles.bundle.css') %} {% do assets.addJs('/schedule/assets/inline.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/schedule/assets/polyfills.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/schedule/assets/main.bundle.js', {group: 'bottom'}) %}
{{ parent() }} {{ parent() }}
{% endblock %} {% endblock %}
{% block bottom %} {% block stylesheets %}
{{ parent() }} {% do assets.addCss('/schedule/assets/styles.bundle.css') %}
{% do assets.addJs('/schedule/assets/inline.bundle.js') %}
{% do assets.addJs('/schedule/assets/polyfills.bundle.js') %}
{% do assets.addJs('/schedule/assets/main.bundle.js') %}
{{ assets.js() }} {{ parent() }}
{% endblock %} {% endblock %}

@ -7,21 +7,19 @@
{% endblock head %} {% endblock head %}
{% block stylesheets %} {% block javascripts %}
{% do assets.addCss('/twitch-logs/assets/styles.bundle.css') %} {% do assets.addJs('/twitch-logs/assets/inline.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/twitch-logs/assets/polyfills.bundle.js', {group: 'bottom'}) %}
{% do assets.addJs('/twitch-logs/assets/main.bundle.js', {group: 'bottom'}) %}
{{ parent() }} {{ parent() }}
{% endblock %} {% endblock %}
{% block bottom %} {% block stylesheets %}
{{ parent() }} {% do assets.addCss('/twitch-logs/assets/styles.bundle.css') %}
{% do assets.addJs('/twitch-logs/assets/inline.bundle.js') %}
{% do assets.addJs('/twitch-logs/assets/polyfills.bundle.js') %}
{% do assets.addJs('/twitch-logs/assets/main.bundle.js') %}
{{ assets.js() }} {{ parent() }}
{% endblock %} {% endblock %}

Loading…
Cancel
Save