Skip to content

Commit

Permalink
modified map
Browse files Browse the repository at this point in the history
  • Loading branch information
somrat committed Apr 11, 2020
1 parent 968d4a7 commit 19abdfe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions layouts/partials/map.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{{ if .Site.Params.map.enable }}
{{ with .Site.Params.map }}
{{"<!-- Google Map -->" | safeHTML}}
<div class="google-map">
<div id="map" data-latitude="{{ .Site.Params.map.map_latitude }}"
data-longitude="{{ .Site.Params.map.map_longitude }}"
data-marker="{{ .Site.Params.map.map_marker | absURL }}"
data-marker-name="{{ .Site.Title }}"></div>
<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 }}

0 comments on commit 19abdfe

Please sign in to comment.