From b9b6e13a556024f6d10a5f0344fb87761624158b Mon Sep 17 00:00:00 2001 From: "Jens M. Sauer" Date: Thu, 24 Oct 2024 12:52:52 +0200 Subject: [PATCH 1/4] Add Kontaktformular --- layouts/partials/kontakt-headless.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/layouts/partials/kontakt-headless.html b/layouts/partials/kontakt-headless.html index 291272c..45ec323 100644 --- a/layouts/partials/kontakt-headless.html +++ b/layouts/partials/kontakt-headless.html @@ -3,6 +3,30 @@

{{ .Title }}

{{ .Content }}

+
+

Oder verwendet das Kontaktformular

+
+
+
+ + +
+
+ + +
+
+ + +
+
+
    +
  • + +
  • +
+
+
{{ end }} From 3bcacecf04c0ae4f57faec94ee68ae90bec9417b Mon Sep 17 00:00:00 2001 From: "Jens M. Sauer" Date: Thu, 24 Oct 2024 13:03:32 +0200 Subject: [PATCH 2/4] Remove debug output from contactform --- static/contactform.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/static/contactform.php b/static/contactform.php index 9c79b96..531913c 100644 --- a/static/contactform.php +++ b/static/contactform.php @@ -17,8 +17,6 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { try { // SMTP-Einstellungen aus der Konfigurationsdatei laden $mail->isSMTP(); - $mail->SMTPDebug = 2; - $mail->Debugoutput = 'echo'; $mail->Host = $config['smtp']['host']; $mail->SMTPAuth = true; $mail->Username = $config['smtp']['username']; @@ -36,7 +34,6 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { $mail->AltBody = "Name: $name\nE-Mail: $email\nNachricht: $message"; $mail->addReplyTo($email, $name); - print_r($config); $mail->send(); echo 'Nachricht wurde erfolgreich gesendet.'; } catch (Exception $e) { From 88e74eae5611272f7ca10b5eedea1627896fe0e6 Mon Sep 17 00:00:00 2001 From: "Jens M. Sauer" Date: Thu, 24 Oct 2024 13:05:53 +0200 Subject: [PATCH 3/4] Update theme --- themes/bar-filipo.de-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bar-filipo.de-theme b/themes/bar-filipo.de-theme index 0958fb4..fdcad5f 160000 --- a/themes/bar-filipo.de-theme +++ b/themes/bar-filipo.de-theme @@ -1 +1 @@ -Subproject commit 0958fb404d10da595f9266b92987aff17d9b0a76 +Subproject commit fdcad5ff5ea4afd360adf067f49730990a8664bc From 3e1a34ecfe74ae774ec0a70dad0db1dacc2152eb Mon Sep 17 00:00:00 2001 From: "Jens M. Sauer" Date: Thu, 24 Oct 2024 13:17:11 +0200 Subject: [PATCH 4/4] Add Jump Button for Kontakt --- content/banner/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/banner/index.md b/content/banner/index.md index ebbdfc1..628368f 100644 --- a/content/banner/index.md +++ b/content/banner/index.md @@ -7,6 +7,9 @@ title: Banner params: subtitle: Benvenuto und herzlich Willkommen! style: style1 orient-left content-align-left image-position-center fullscreen onload-image-fade-in onload-content-fade-right + button: + link: Kontakt + label: Jetzt Kontakt aufnehmen --- Aus Italien auf Ihre Feier in Norddeutschland.