Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/saey55/hugo-elate-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/js.html')
-rwxr-xr-xlayouts/partials/js.html12
1 files changed, 3 insertions, 9 deletions
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index 0bd7440..5fbb17a 100755
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -13,14 +13,8 @@
<!-- Magnific Popup -->
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/magnific-popup-options.js"></script>
- <!-- Google Map -->
- {{ if .Site.Params.contact.map }}
- {{ if .Site.Params.googleMapsApiKey }}
- <script src="https://maps.googleapis.com/maps/api/js?key={{ .Site.Params.googleMapsApiKey }}"></script>
- {{ else }}
- <script src="https://maps.googleapis.com/maps/api/js"></script>
- {{ end }}
- <script src="js/google_map.js"></script>
- {{ end }}
+ <!-- Map -->
+ <script src="js/leaflet.js"></script>
+ <script src="js/leaflet-map.js"></script>
<!-- Main JavaScript -->
<script src="js/main.js"></script>