From 8acbb37e6e94ee1ec9ad6bdb57637a2384b4d675 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Fri, 17 Mar 2023 15:46:52 +0100 Subject: [PATCH] fix leaflet check --- layouts/partials/footer/js.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/footer/js.html b/layouts/partials/footer/js.html index 52b15937..d09a9db3 100644 --- a/layouts/partials/footer/js.html +++ b/layouts/partials/footer/js.html @@ -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=""/> -- GitLab