refactor: remove CDN tags from feed-map, map, story templates
- feed-map.html.twig: removed MapLibre/toGeoJSON/maplibre-utils CDN tags; added {% do assets.addCss/addJs %} calls directly in partial
- map.html.twig: removed MapLibre/toGeoJSON/maplibre-utils CDN tags; added {% block map_assets %} with Asset Manager registrations
- story.html.twig: removed Scrollama CDN tag (now bundled in main.js as window.scrollama)
All map init and script logic remains unchanged. CDN requests eliminated.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr
This commit is contained in:
@@ -69,7 +69,6 @@
|
||||
|
||||
<button class="story-totop" id="story-totop" aria-label="Back to top">↑ Top</button>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/scrollama@3/build/scrollama.min.js"></script>
|
||||
<script>
|
||||
/* ── Hero scroll effect ──────────────────────────────────── */
|
||||
(function () {
|
||||
|
||||
Reference in New Issue
Block a user