_includes/head.html in jekyll-webmaps-simple-theme-0.1.6 vs _includes/head.html in jekyll-webmaps-simple-theme-0.1.7

- old
+ new

@@ -18,13 +18,13 @@ <link rel="stylesheet" href="{{ site.url }}/assets/css/main.css" type="text/css"> <link rel="stylesheet" href="{{ site.url }}/assets/css/bootstrap.min.css" type="text/css"> <link rel="stylesheet" href="{{ site.url }}/assets/css/font-awesome.min.css" type="text/css"> <!-- JS --> - <script src="{{ site.url }}/assets/js/jquery.min.js"></script> - <script src="{{ site.url }}/assets/js/bootstrap.min.js"></script> - <script src="{{ site.url }}/assets/js/leaflet.js"></script> - <script src="{{ site.url }}/assets/js/Leaflet.fullscreen.min.js"></script> + <script src="{{ '/assets/js/jquery.min.js' | prepend: site.url }}"></script> + <script src="{{ '/assets/js/bootstrap.min.js' | prepend: site.url }}"></script> + <script src="{{ '/assets/js/leaflet.js' | prepend: site.url }}"></script> + <script src="{{ '/assets/js/Leaflet.fullscreen.min.js' | prepend: site.url }}"></script> {% for js in site.data.mapdata.base %}{% if js.extrajs == true %}<script type="text/javascript" src="{{ js.leaflet-js }}"></script>{% endif %}{% endfor %} {% for js in site.data.mapdata.overlay %}{% if js.extrajs == true %}<script type="text/javascript" src="{{ js.leaflet-js }}"></script>{% endif %}{% endfor %} {%- if jekyll.environment == 'production' and site.google_analytics -%} {%- include google-analytics.html -%}