promote: dev → main (bookmarks fixes: SSR script tag, phantom save at cap) #123
1 changed files with 4 additions and 1 deletions
|
|
@ -175,7 +175,10 @@
|
|||
<p><a href="{{.Base}}/climate" data-event="home.nav_cities">Browse all cities →</a></p>
|
||||
</section>
|
||||
{{template "base_body_end" .}} <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
|
||||
<script type="module" src="{{.AssetBase}}/app.js"></script>{{/* The records strip renders real temperatures server-side as .temp spans, so
|
||||
<script type="module" src="{{.AssetBase}}/app.js"></script>{{/* Bookmarked locations: a star toggle in the results share row + a "Saved"
|
||||
dropdown by the Find button. Loaded as its own module alongside app.js
|
||||
(not merged into it) — see bookmarks-ui.js's header comment for why. */}}
|
||||
<script type="module" src="{{.AssetBase}}/bookmarks-ui.js"></script>{{/* The records strip renders real temperatures server-side as .temp spans, so
|
||||
it needs the same converter the SEO pages use or they'd stay in °F while
|
||||
the toggle says °C. Both import units.js, which the module loader dedupes. */}}
|
||||
<script type="module" src="{{.AssetBase}}/climate.js"></script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue