From 53d873b4c775aec4f1da4f7811db7864f4d46e9f Mon Sep 17 00:00:00 2001 From: Mischa Date: Mon, 22 Jun 2026 23:31:30 +0200 Subject: [PATCH] feat: register assets via Asset Manager, remove Google Fonts, remove inline photo strip script --- .../templates/partials/base.html.twig | 54 ++----------------- 1 file changed, 5 insertions(+), 49 deletions(-) diff --git a/themes/intotheeast/templates/partials/base.html.twig b/themes/intotheeast/templates/partials/base.html.twig index 588baeb..7adbcab 100644 --- a/themes/intotheeast/templates/partials/base.html.twig +++ b/themes/intotheeast/templates/partials/base.html.twig @@ -4,11 +4,10 @@ {% if page.title %}{{ page.title }} | {% endif %}{{ site.title }} - - - - - + {% do assets.addCss('theme://css/tokens.css') %} + {% do assets.addCss('theme://css/style.css') %} + {% do assets.addCss('theme://css-compiled/main.css') %} + {% do assets.addJs('theme://js/main.js', {group: 'bottom'}) %} {{ assets.css()|raw }} {{ assets.js()|raw }} @@ -26,50 +25,7 @@
{% block content %}{% endblock %}
+ {% block map_assets %}{% endblock %} {{ assets.js('bottom')|raw }} -