tfcconnection/layouts/partials/leaflet-loader.html
Chris Cochrun 16bcf8b091 adding leaflet-hugo maps
This will hopefully allow me to create shortcode maps with osm and
leaflet rather than google.
2023-03-22 10:25:49 -05:00

22 lines
701 B
HTML

{{ range $.Site.Params.hugoLeaflet.css }}
<link rel="stylesheet" href="{{ .href }}" crossorigin="{{ .crossorigin }}" {{ range $key, $value := .params }} {{ $key | safeURL }}="{{ $value }}" {{ end }} />
{{ end }}
{{ range $.Site.Params.hugoLeaflet.js }}
<script src="{{ .src }}" crossorigin="{{ .crossorigin }}" {{ range $key, $value := .params }} {{ $key | safeURL }}="{{ $value }}" {{ end }} ></script>
{{ end }}
<style>
.fa-icon-marker {
text-align: center;
width: 100%;
}
.download-track {
background-color: #e1e1e1;
text-align: center;
margin-bottom: 25px;
border-radius: 0 0 10px 10px;
cursor: pointer;
}
</style>