AntonKhorev left a comment (openstreetmap/openstreetmap-website#5752)
If you put the icons in a erb template and include that template from map
layout and other pages that use the icons, you'll have all the icons in one
place without paths in javascript. Something like this:
https://github.com/AntonKhorev/openstreetmap-website/commit/56aa9aff03c8c8608aecd29ff6e70b95c1b433df
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5752#issuecomment-2756354754
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5752/c2756354...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev