diff options
author | Tobias Sachs <tobias@tobiassachs.de> | 2017-04-27 22:23:01 +0300 |
---|---|---|
committer | Tobias Sachs <tobias@tobiassachs.de> | 2017-04-27 22:23:01 +0300 |
commit | ba0fb12ae65dec0d1844f945c80d29030261e6d1 (patch) | |
tree | ac64eb08126b14ff3eb8c483d77fca1820bc8602 | |
parent | 192fcb2a58bca847c511b4cfbe882417f6d97cfc (diff) |
Revert "Remove the Map JS if the map is disabled."
This reverts commit 192fcb2a58bca847c511b4cfbe882417f6d97cfc.
-rwxr-xr-x | layouts/partials/js.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/layouts/partials/js.html b/layouts/partials/js.html index 11a6392..28b15c4 100755 --- a/layouts/partials/js.html +++ b/layouts/partials/js.html @@ -14,9 +14,6 @@ <script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/magnific-popup-options.js"></script>
<!-- Google Map -->
- {{ if .Site.Params.contact.map }}
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCefOgb1ZWqYtj7raVSmN4PL2WkTrc-KyA&sensor=false"></script>
<script src="js/google_map.js"></script>
- {{ end }}
- <!-- Main JavaScript -->
- <script src="js/main.js"></script>
+ <script src="js/main.js"></script>
\ No newline at end of file |