mirror of
https://gitlab.com/mrubli/hugo-mod-leaflet.git
synced 2025-10-07 01:54:24 +00:00
layouts: leaflet-loader: Fix absolute URL used for loading quip-maps
This only worked for local builds with a baseURL of http://localhost:1313/ but not on something like http://myserver/mybase/.
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
// Global object for quip-maps
|
||||
const Quip = {};
|
||||
</script>
|
||||
<script src="/js/maps.bundle.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/maps.bundle.js"></script>
|
||||
|
||||
<link rel="stylesheet" href="/css/hugo-mod-leaflet.css" />
|
||||
|
Reference in New Issue
Block a user