initial commit site meshero.fr with hugo

This commit is contained in:
anael committed 2026-11-15 15:47:03 +01:00
commit 26073b413e
32 files changed
+1348

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
{{- /*
Carte intégrée en iframe.
Usage : {{< carte-iframe src="https://map.meshcore.io/" height="600" titre="Carte MeshCore" >}}
*/ -}}
{{- $src := .Get "src" -}}
{{- $height := .Get "height" | default "600" -}}
{{- $titre := .Get "titre" | default "Carte des nœuds MeshCore" -}}
<div class="my-6">
<iframe
src="{{ $src }}"
title="{{ $titre }}"
loading="lazy"
referrerpolicy="no-referrer"
allowfullscreen
style="width: 100%; height: {{ $height }}px; border: 0; border-radius: 12px;"
></iframe>
<p class="mt-2 text-sm text-gray-500">
La carte ne s'affiche pas ?
<a class="text-emerald-600 hover:underline" href="{{ $src }}" target="_blank" rel="noopener">
Ouvrir dans un nouvel onglet →
</a>
</p>
</div>