Docs: Fix leatest/latest leaflet version
This commit is contained in:
parent
0ff89b7b33
commit
c7a129ba9c
@ -5,4 +5,4 @@ markdown: kramdown
|
||||
kramdown:
|
||||
entity_output: as_input
|
||||
|
||||
latest_leaflet_version: 1.0.0
|
||||
latest_leaflet_version: 1.0.1
|
||||
|
@ -9,8 +9,8 @@
|
||||
{% capture root %}{% if page.root %}{{ page.root }}{% else %}{{ layout.root }}{% endif %}{% endcapture %}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ root }}docs/images/favicon.ico" />
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@{{ site.leatest_leaflet_version }}/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@{{ site.leatest_leaflet_version }}/dist/leaflet.js"></script>
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@{{ site.latest_leaflet_version }}/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@{{ site.latest_leaflet_version }}/dist/leaflet.js"></script>
|
||||
|
||||
{% unless page.customMapContainer == "true" %}
|
||||
<style>
|
||||
|
@ -34,8 +34,8 @@
|
||||
<link rel="stylesheet" href="{{ root }}docs/highlight/styles/github-gist.css" />
|
||||
|
||||
<!-- Leaflet -->
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@{{ site.leatest_leaflet_version }}/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@{{ site.leatest_leaflet_version }}/dist/leaflet.js"></script>
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@{{ site.latest_leaflet_version }}/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@{{ site.latest_leaflet_version }}/dist/leaflet.js"></script>
|
||||
|
||||
{% if page.css %}<style>{{ page.css }}</style>{% endif %}
|
||||
|
||||
|
@ -12,8 +12,8 @@ bodyclass: download-page
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="http://cdn.leafletjs.com/leaflet/v1.0.0/leaflet.zip">Leaflet 1.0.0</a></td>
|
||||
<td>Stable version, released on September 27, 2016.</td>
|
||||
<td><a href="http://cdn.leafletjs.com/leaflet/v1.0.1/leaflet.zip">Leaflet 1.0.1</a></td>
|
||||
<td>Stable version, released on September 30, 2016.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/master/leaflet.zip">Leaflet 1.1-dev</a></td>
|
||||
|
@ -15,11 +15,11 @@ Before writing any code for the map, you need to do the following preparation st
|
||||
|
||||
* Include Leaflet CSS file in the head section of your document:
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@{{ site.leatest_leaflet_version }}/dist/leaflet.css" />
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@{{ site.latest_leaflet_version }}/dist/leaflet.css" />
|
||||
|
||||
* Include Leaflet JavaScript file:
|
||||
|
||||
<script src="https://unpkg.com/leaflet@{{ site.leatest_leaflet_version }}/dist/leaflet.js"></script>
|
||||
<script src="https://unpkg.com/leaflet@{{ site.latest_leaflet_version }}/dist/leaflet.js"></script>
|
||||
|
||||
* Put a `div` element with a certain `id` where you want your map to be:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user