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

github.com/chipzoller/hugo-clarity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Boothe <git@rootwork.org>2022-07-02 01:32:06 +0300
committerIvan Boothe <git@rootwork.org>2022-07-02 01:32:06 +0300
commitf13ddeeacc58087b54e0a18ddc614ebdc00a0297 (patch)
treefe5d3c5dbab5cb68d451f2454e47d44502f14062
parent829f6816d4b82f5aa02b5740ec7899a746a99dfe (diff)
Fixing line endingsmore-image-improvements
Signed-off-by: Ivan Boothe <git@rootwork.org>
-rw-r--r--layouts/shortcodes/openstreetmap.html46
1 files changed, 23 insertions, 23 deletions
diff --git a/layouts/shortcodes/openstreetmap.html b/layouts/shortcodes/openstreetmap.html
index 9136717..64aec5d 100644
--- a/layouts/shortcodes/openstreetmap.html
+++ b/layouts/shortcodes/openstreetmap.html
@@ -1,23 +1,23 @@
-{{ $mapName := .Get "mapName" }}
-
-{{ $mapWidth := .Get "mapWidth" | default "100%" }}
-{{ $mapHeight := .Get "mapHeight" | default "600px" }}
-
-{{ $scaleControl := .Get "scaleControl" | default "true" }}
-{{ $miniMap := .Get "miniMap" | default "false" }}
-{{ $scrollWheelZoom := .Get "scrollWheelZoom" | default "true" }}
-{{ $zoomControl := .Get "zoomControl" | default "true" }}
-{{ $allowEdit := .Get "allowEdit" | default "false" }}
-{{ $moreControl := .Get "moreControl" | default "true" }}
-{{ $searchControl := .Get "searchControl" | default "true" }}
-{{ $tilelayersControl := .Get "tilelayersControl" | default "null" }}
-{{ $embedControl := .Get "embedControl" | default "null" }}
-{{ $datalayersControl := .Get "datalayersControl" | default "true" }}
-{{ $onLoadPanel := .Get "onLoadPanel" | default "none" }}
-{{ $captionBar := .Get "captionBar" | default "false" }}
-
-{{ $scale := .Get "scale" }}
-{{ $coordX := .Get "coordX" }}
-{{ $coordY := .Get "coordY" }}
-
-<iframe class="openstreetmap" width="{{ $mapWidth }}" height="{{ $mapHeight }}" src="https://umap.openstreetmap.fr/en/map/{{- $mapName -}}?scaleControl={{ $scaleControl }}&miniMap={{ $miniMap }}&scrollWheelZoom={{ $scrollWheelZoom }}&zoomControl={{ $zoomControl }}&allowEdit={{ $allowEdit }}&moreControl={{ $moreControl }}&searchControl={{ $searchControl }}&tilelayersControl={{ $tilelayersControl }}&embedControl={{ $embedControl }}&datalayersControl={{ $datalayersControl }}&onLoadPanel={{ $onLoadPanel }}&captionBar={{ $captionBar }}{{ with $scale}}#{{ . }}{{ end }}/{{ $coordX }}/{{ $coordY }}"></iframe>
+{{ $mapName := .Get "mapName" }}
+
+{{ $mapWidth := .Get "mapWidth" | default "100%" }}
+{{ $mapHeight := .Get "mapHeight" | default "600px" }}
+
+{{ $scaleControl := .Get "scaleControl" | default "true" }}
+{{ $miniMap := .Get "miniMap" | default "false" }}
+{{ $scrollWheelZoom := .Get "scrollWheelZoom" | default "true" }}
+{{ $zoomControl := .Get "zoomControl" | default "true" }}
+{{ $allowEdit := .Get "allowEdit" | default "false" }}
+{{ $moreControl := .Get "moreControl" | default "true" }}
+{{ $searchControl := .Get "searchControl" | default "true" }}
+{{ $tilelayersControl := .Get "tilelayersControl" | default "null" }}
+{{ $embedControl := .Get "embedControl" | default "null" }}
+{{ $datalayersControl := .Get "datalayersControl" | default "true" }}
+{{ $onLoadPanel := .Get "onLoadPanel" | default "none" }}
+{{ $captionBar := .Get "captionBar" | default "false" }}
+
+{{ $scale := .Get "scale" }}
+{{ $coordX := .Get "coordX" }}
+{{ $coordY := .Get "coordY" }}
+
+<iframe class="openstreetmap" width="{{ $mapWidth }}" height="{{ $mapHeight }}" src="https://umap.openstreetmap.fr/en/map/{{- $mapName -}}?scaleControl={{ $scaleControl }}&miniMap={{ $miniMap }}&scrollWheelZoom={{ $scrollWheelZoom }}&zoomControl={{ $zoomControl }}&allowEdit={{ $allowEdit }}&moreControl={{ $moreControl }}&searchControl={{ $searchControl }}&tilelayersControl={{ $tilelayersControl }}&embedControl={{ $embedControl }}&datalayersControl={{ $datalayersControl }}&onLoadPanel={{ $onLoadPanel }}&captionBar={{ $captionBar }}{{ with $scale}}#{{ . }}{{ end }}/{{ $coordX }}/{{ $coordY }}"></iframe>