Fix assets in all templates

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

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

@ -7,21 +7,19 @@
{% endblock head %}
{% block stylesheets %}
{% do assets.addCss('/gifted-subs/assets/styles.bundle.css') %}
{% block javascripts %}
{% 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() }}
{% endblock %}
{% block bottom %}
{{ parent() }}
{% 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') %}
{% block stylesheets %}
{% do assets.addCss('/gifted-subs/assets/styles.bundle.css') %}
{{ assets.js() }}
{{ parent() }}
{% endblock %}

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

@ -11,6 +11,9 @@
{% block javascripts %}
{% 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() }}
@ -43,12 +46,6 @@
});
</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 %}
{% block hero %}

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

@ -7,21 +7,19 @@
{% endblock head %}
{% block stylesheets %}
{% do assets.addCss('/regular-subs/assets/styles.bundle.css') %}
{% block javascripts %}
{% 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() }}
{% endblock %}
{% block bottom %}
{{ parent() }}
{% 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') %}
{% block stylesheets %}
{% do assets.addCss('/regular-subs/assets/styles.bundle.css') %}
{{ assets.js() }}
{{ parent() }}
{% endblock %}

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

@ -7,21 +7,19 @@
{% endblock head %}
{% block stylesheets %}
{% do assets.addCss('/twitch-logs/assets/styles.bundle.css') %}
{% block javascripts %}
{% 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() }}
{% endblock %}
{% block bottom %}
{{ parent() }}
{% 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') %}
{% block stylesheets %}
{% do assets.addCss('/twitch-logs/assets/styles.bundle.css') %}
{{ assets.js() }}
{{ parent() }}
{% endblock %}

Loading…
Cancel
Save