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

12 lines
324 B
HTML

{{ 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 }}