From d1aaf75e82d9ca4ed374ef625caf72a58f71610b Mon Sep 17 00:00:00 2001 From: lennartrommeiss Date: Wed, 22 Jan 2025 20:28:59 +0100 Subject: [PATCH] fix: better contact form handling Signed-off-by: lennartrommeiss --- .../common/contact.de.html | 7 ++++++- content/common/contact.de.md | 7 ------- content/common/contact.en.html | 20 +++++++++++++++++++ content/common/contact.en.md | 7 ------- content/common/success.de.html | 8 ++++++++ content/common/success.en.html | 9 +++++++++ 6 files changed, 43 insertions(+), 15 deletions(-) rename themes/fiptheme/layouts/shortcodes/contactform.html => content/common/contact.de.html (85%) delete mode 100644 content/common/contact.de.md create mode 100644 content/common/contact.en.html delete mode 100644 content/common/contact.en.md create mode 100644 content/common/success.de.html create mode 100644 content/common/success.en.html diff --git a/themes/fiptheme/layouts/shortcodes/contactform.html b/content/common/contact.de.html similarity index 85% rename from themes/fiptheme/layouts/shortcodes/contactform.html rename to content/common/contact.de.html index f6c0b84..783f604 100644 --- a/themes/fiptheme/layouts/shortcodes/contactform.html +++ b/content/common/contact.de.html @@ -1,7 +1,12 @@ +--- +title: "Kontakt" +--- +
+ }}">


@@ -12,4 +17,4 @@


-
+ \ No newline at end of file diff --git a/content/common/contact.de.md b/content/common/contact.de.md deleted file mode 100644 index 4d4779d..0000000 --- a/content/common/contact.de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -date: "2024-10-17" -draft: false -title: "Kontakt" ---- - -{{< contactform >}} \ No newline at end of file diff --git a/content/common/contact.en.html b/content/common/contact.en.html new file mode 100644 index 0000000..3c639b2 --- /dev/null +++ b/content/common/contact.en.html @@ -0,0 +1,20 @@ +--- +title: "Contact" +--- + +
+ + + + }}"> + +
+

+ +
+

+ +
+

+ +
\ No newline at end of file diff --git a/content/common/contact.en.md b/content/common/contact.en.md deleted file mode 100644 index 23ff71a..0000000 --- a/content/common/contact.en.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -date: "2024-10-17" -draft: false -title: "Contact" ---- - -{{< contactform >}} \ No newline at end of file diff --git a/content/common/success.de.html b/content/common/success.de.html new file mode 100644 index 0000000..9c662ca --- /dev/null +++ b/content/common/success.de.html @@ -0,0 +1,8 @@ +--- +title: "Erfolgreich!" +--- + +
+

Wir melden uns schnellstmöglich zurück

+ }}">Zurück zur Startseite +
diff --git a/content/common/success.en.html b/content/common/success.en.html new file mode 100644 index 0000000..eaa8a27 --- /dev/null +++ b/content/common/success.en.html @@ -0,0 +1,9 @@ +--- +title: "Success" +--- + +
+

We will get back to you as soon as possible

+ }}">Back to start page + +