mirror of
https://gitlab.com/mrubli/hugo-mod-leaflet.git
synced 2025-10-07 10:04:24 +00:00
layouts: Add leaflet-loader partial
This commit is contained in:
12
layouts/partials/leaflet-loader.html
Normal file
12
layouts/partials/leaflet-loader.html
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin=""/>
|
||||||
|
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Global object for quip-maps
|
||||||
|
const Quip = {};
|
||||||
|
</script>
|
||||||
|
<script src="/js/maps.bundle.js"></script>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/css/hugo-mod-leaflet.css" />
|
Reference in New Issue
Block a user