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. 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 }} 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) { 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