Compare commits
2 Commits
ac17f78518
...
6862d0c1ac
| Author | SHA1 | Date | |
|---|---|---|---|
| 6862d0c1ac | |||
| ce65d2c289 |
@@ -2,5 +2,7 @@
|
||||
type: "post"
|
||||
title: "Feri'Ain des Fanfarons 2021 - Thoissey"
|
||||
date: 2021-08-06T00:00:00+01:00
|
||||
latitude: "46.165350"
|
||||
longitude: "4.791313"
|
||||
---
|
||||
|
||||
|
||||
@@ -2,5 +2,6 @@
|
||||
type: "post"
|
||||
title: "Passerelle du Palais de Justice - Lyon"
|
||||
date: 2021-12-12T00:00:00+01:00
|
||||
latitude: "45.761727"
|
||||
longitude: "4.829074"
|
||||
---
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
type: "post"
|
||||
title: "Pont de l'Université - Lyon"
|
||||
date: 2022-04-15T00:00:00+01:00
|
||||
latitude: "45.752182"
|
||||
longitude: "4.836530"
|
||||
---
|
||||
|
||||
Balances Publiques en vue de l'Apéro Fanfare du 22 Avril 2022
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
type: "post"
|
||||
title: "Apéro Fanfare - Pont de l'Université - Lyon"
|
||||
date: 2022-04-22T00:00:00+01:00
|
||||
latitude: "45.752182"
|
||||
longitude: "4.836530"
|
||||
---
|
||||
|
||||
Apéro Fanfare sur les quais feat Super Smash Brass et les Fat Ducks.
|
||||
@@ -2,6 +2,8 @@
|
||||
type: "post"
|
||||
title: "Over zeu Peepshow - Lyon"
|
||||
date: 2022-05-13T00:00:00+01:00
|
||||
latitude: "45.737637"
|
||||
longitude: "4.853652"
|
||||
---
|
||||
|
||||
Peepshow Musical sauce OzK au 18 rue Pierre Delore pour l'anniversaire de PVR
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
type: "post"
|
||||
title: "Rock à Fond - Manziat"
|
||||
date: 2022-07-30T00:00:00+01:00
|
||||
latitude: "46.358619"
|
||||
longitude: "4.903935"
|
||||
---
|
||||
|
||||
Festival Rock à Fond organisé par les Gazafond à Manziat (01570)
|
||||
@@ -11,4 +13,4 @@ Festival Rock à Fond organisé par les Gazafond à Manziat (01570)
|
||||
### Photos
|
||||
{{<figure src="/images/2022-07-30/IMG_20220730_200333.jpg">}}
|
||||
{{<figure src="/images/2022-07-30/IMG_20220730_202412.jpg">}}
|
||||
{{<figure src="/images/2022-07-30/IMG_20220730_202417.jpg">}}
|
||||
{{<figure src="/images/2022-07-30/IMG_20220730_202417.jpg">}}
|
||||
@@ -2,5 +2,6 @@
|
||||
type: "post"
|
||||
title: "Decente de la Saône - Replonges"
|
||||
date: 2022-07-31T00:00:00+01:00
|
||||
---
|
||||
|
||||
latitude: "46.3044427"
|
||||
longitude: "4.8398536"
|
||||
---
|
||||
@@ -2,4 +2,6 @@
|
||||
type: "post"
|
||||
title: "Feri'Ain des Fanfarons 2022 - Thoissey"
|
||||
date: 2022-08-08T00:00:00+01:00
|
||||
latitude: "46.165350"
|
||||
longitude: "4.791313"
|
||||
---
|
||||
@@ -2,8 +2,13 @@
|
||||
type: "post"
|
||||
title: "Matinale OzK - Charpennes, Villeurbanne"
|
||||
date: 2022-10-11T00:00:00+01:00
|
||||
latitude: "45.770751"
|
||||
longitude: "4.863223"
|
||||
---
|
||||
|
||||
Matinale Musicale de 7:00 à 8:00 Place Charles Hernu à Charpennes, sur une idée orginale de TFA.
|
||||
Matinale Musicale de 7:00 à 8:00 place Charles Hernu à Charpennes, sur une idée orginale de TFA.
|
||||
|
||||
### Concept
|
||||
Égayer la journée des étudiants et des travailleurs passant par le Charpennes un matin en semaine.
|
||||
> Mais quelle idée de merde...
|
||||
|
||||
|
||||
30
layouts/shortcodes/leaflet-map.html
Normal file
30
layouts/shortcodes/leaflet-map.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{{ if .IsNamedParams }}
|
||||
|
||||
{{ $mapLat := default "" (.Get "mapLat") }}
|
||||
{{ $mapLon := default "" (.Get "mapLon") }}
|
||||
{{ $zoom := default "13" (.Get "zoom") }}
|
||||
{{ $mapWidth := default "100%" (.Get "mapWidth") }}
|
||||
{{ $mapHeight := default "400px" (.Get "mapHeight") }}
|
||||
{{ $mapId := default (md5 (printf "%s%s" $mapLat $mapLon)) (.Get "mapId") }}
|
||||
{{ $scrollWheelZoom := default "true" (.Get "scrollWheelZoom") }}
|
||||
|
||||
<!--Container-->
|
||||
<div id='mapid_{{ $mapId }}' class="leaflet-map" style='width: {{ $mapWidth }}; height: {{ $mapHeight}};'></div>
|
||||
|
||||
<script>
|
||||
//Create Map
|
||||
leafletMapsObj[{{ $mapId }}] = L.map('mapid_{{ $mapId }}').setView([{{ $mapLat }}, {{ $mapLon }}], {{ $zoom }});
|
||||
{{ if eq $scrollWheelZoom "false" }}
|
||||
leafletMapsObj[{{ $mapId }}].scrollWheelZoom.disable();
|
||||
{{ end }}
|
||||
//Add tiles
|
||||
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
||||
}).addTo(leafletMapsObj[{{ $mapId }}]);
|
||||
|
||||
</script>
|
||||
{{.Inner}}
|
||||
|
||||
{{ else }}
|
||||
{{ errorf "Leaflet Hugo Shortcode: please provide named Parameters" }}
|
||||
{{ end }}
|
||||
32
layouts/shortcodes/leaflet-marker.html
Normal file
32
layouts/shortcodes/leaflet-marker.html
Normal file
@@ -0,0 +1,32 @@
|
||||
{{ if .IsNamedParams }}
|
||||
|
||||
{{ $markerLat := default "" (.Get "markerLat") }}
|
||||
{{ $markerLon := default "" (.Get "markerLon") }}
|
||||
{{ $markerContent := default "" (.Get "markerContent") }}
|
||||
|
||||
{{ with .Parent }}
|
||||
|
||||
{{ $mapLat := default "" (.Get "mapLat") }}
|
||||
{{ $mapLon := default "" (.Get "mapLon") }}
|
||||
{{ $mapId := default (md5 (printf "%s%s" $mapLat $mapLon)) (.Get "mapId") }}
|
||||
{{ $markerId := md5 (printf "%s%s%s" $mapId $markerLat $markerLon)}}
|
||||
|
||||
<script>
|
||||
//Marker
|
||||
leafletMarkersObj[{{ $markerId }}] = L.marker([{{ $markerLat }}, {{ $markerLon }}]).addTo(leafletMapsObj[{{ $mapId }}]);
|
||||
|
||||
{{ if $markerContent }}
|
||||
leafletMarkersObj[{{ $markerId }}].bindPopup("{{ $markerContent }}").openPopup();
|
||||
{{ end }}
|
||||
</script>
|
||||
|
||||
{{ else }}
|
||||
{{ errorf "Leaflet Hugo Shortcode: impossible using marker outside leaflet-map" }}
|
||||
{{ end }}
|
||||
|
||||
{{ else }}
|
||||
{{ errorf "Leaflet Hugo Shortcode: please provide named Parameters for marker" }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
||||
8
static/css/leaflet.extra-markers.min.css
vendored
Executable file
8
static/css/leaflet.extra-markers.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
Submodule themes/gokarna updated: 9ed7c5a582...c9ee674b2d
Reference in New Issue
Block a user