This will hopefully allow me to create shortcode maps with osm and leaflet rather than google.
22 lines
701 B
HTML
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>
|