jarnat/themes/meghna-hugo/layouts/partials/map.html

12 lines
324 B
HTML
Raw Normal View History

2022-07-19 09:14:46 +02:00
{{ if site.Params.map.enable }}
{{ with site.Params.map }}
{{"<!-- Google Map -->" | safeHTML}}
<div class="google-map">
<div id="map" data-latitude="{{ .map_latitude }}"
data-longitude="{{ .map_longitude }}"
data-marker="{{ .map_marker | absURL }}"
data-marker-name="{{ site.Title }}"></div>
</div>
{{ end }}
{{ end }}