Skip to content
Snippets Groups Projects
Commit 8acbb37e authored by alexisben's avatar alexisben
Browse files

fix leaflet check

parent 3988be95
No related branches found
No related tags found
No related merge requests found
......@@ -5,14 +5,14 @@
{{ if eq .template "partners"}}
{{ with .data }}
{{ if eq .layout "map" }}
{{ $isLeafletNeeded := true }}
{{ $isLeafletNeeded = true }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ if $isLeafletNeeded = true }}
{{ if $isLeafletNeeded }}
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.3/dist/leaflet.css"
integrity="sha256-kLaT2GOSpHechhsozzB+flnD+zUyjE2LlfWPgU04xyI="
crossorigin=""/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment