Add contact backend and update readme

This commit is contained in:
2026-04-14 23:18:17 +02:00
parent 1c63ecdb83
commit f5f83c5ade
81 changed files with 11090 additions and 80 deletions
@@ -1,9 +1,8 @@
{{ $form := .Page.Params.contactForm }}
{{ $contactFormUrl := default "https://facteur-cl.sobrietech.be/contact.php" (getenv "CONTACT_FORM_URL") }}
{{ $contactFormUrl := (getenv "CONTACT_FORM_URL") | default "https://facteur-cl.sobrietech.be/contact.php" }}
<form id="contactForm" class="max-w-lg mx-auto p-6 bg-white rounded shadow" method="POST"
action="{{ $form.action | default $contactFormUrl }}" target="_blank">
action={{ $contactFormUrl }} target="_blank">
<h3 class="text-2xl font-bold mb-4">{{ $form.title }}</h3>
{{ range $form.fields }}
<div class="mb-4">