From 5108b5bf631c172efc00badaea512ded874ebb14 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 15 Apr 2026 17:46:10 +0200 Subject: Fix contact form shortcode: rename from contact-form.html to contact.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Hugo v0.160 doesn't find shortcode as 'contact_form' when filename is contact-form.html Solution: Rename to contact.html so shortcode is {{< contact >}} - Rename shortcodes/contact-form.html → contact.html - Update contact pages to use {{< contact >}} shortcode - Remove unused dict initialization line from contact shortcode - Contact form now works on both English and Italian contact pages Co-Authored-By: Claude Haiku 4.5 --- .../layouts/shortcodes/contact-form.html | 67 ---------------------- .../layouts/shortcodes/contact.html | 65 +++++++++++++++++++++ 2 files changed, 65 insertions(+), 67 deletions(-) delete mode 100644 themes/danix-xyz-hacker/layouts/shortcodes/contact-form.html create mode 100644 themes/danix-xyz-hacker/layouts/shortcodes/contact.html (limited to 'themes/danix-xyz-hacker/layouts/shortcodes') diff --git a/themes/danix-xyz-hacker/layouts/shortcodes/contact-form.html b/themes/danix-xyz-hacker/layouts/shortcodes/contact-form.html deleted file mode 100644 index 6dbdb2d..0000000 --- a/themes/danix-xyz-hacker/layouts/shortcodes/contact-form.html +++ /dev/null @@ -1,67 +0,0 @@ -{{- $contactFormData := dict -}} - -
- -
- - -
- - -
- - -
- - -
- - -
- - -
- - - -
- diff --git a/themes/danix-xyz-hacker/layouts/shortcodes/contact.html b/themes/danix-xyz-hacker/layouts/shortcodes/contact.html new file mode 100644 index 0000000..6c5748f --- /dev/null +++ b/themes/danix-xyz-hacker/layouts/shortcodes/contact.html @@ -0,0 +1,65 @@ +
+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + + +
+ -- cgit v1.2.3