first commit
This commit is contained in:
11
themes/meghna-hugo/layouts/partials/map.html
Normal file
11
themes/meghna-hugo/layouts/partials/map.html
Normal file
@ -0,0 +1,11 @@
|
||||
{{ 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 }}
|
Reference in New Issue
Block a user