diff --git a/layouts/shortcodes/leaflet-map.html b/layouts/shortcodes/leaflet-map.html index b8e2829..e899246 100644 --- a/layouts/shortcodes/leaflet-map.html +++ b/layouts/shortcodes/leaflet-map.html @@ -8,7 +8,7 @@ Syntax summary: {{< leaflet-marker lat=FLOAT lon=FLOAT >}} - {{< leaflet-track path="URL" >}} + {{< leaflet-track path="URL" title="STRING" downloadable=BOOL >}} {{< leaflet-scale >}} @@ -81,6 +81,11 @@ Track options: path: Absolute or relative path of the .gpx file to render as a track. + title: + Name of the track, used e.g. to render the 'Download GPX' button when multiple tracks are present. + downloadable: + Boolean value indicating whether there should be a 'Download GPX' button for this track. + Optional, defaults to true. Scale options: @@ -126,6 +131,8 @@ Elevation profile options:
+