I am using the “OpenStreetMap shortcode for hugo” GitHub - hanzei/hugo-component-osm: OpenStreetMap shortcode for hugo for my little blog to insert maps.
I have a blog where readers can switch to dark mode layout if they wish. I insert a map in a .md post. I can have a standard map created with Umap uMap. , but I can also insert a dark mode map created with Umap uMap…
My goal is to automatically switch the light map for the dark map when readers read my post in dark mode.
How can I do this?
Thank you for any suggestions.