Thanks for the answer. I’ll send you a private Google Drive link. There you can view the complete project. You can find the test code at localhost:1313/kontakt. In the English version I have not yet inserted the test code.
I looked at /kontakt/index.html in the public directory. There is actually no comment out there. In the browser, when outputting, the PHP part is commented out. Now I don’t understand anything anymore. Tried it with Firefox, Chrome and Safari.
Both. I have a local MAMP server environment - same error. The password-protected website on the Internet - same mistake. Pure localhost:1313 solution with Hugo - same error. In /kontakt/index.html there is no comment out in any environment. It’s not because of Hugo and the markup. The browser, like Firefox, Chrome and Safari, output the code commented out. ???
OK that’s it. I have to come up with something else. Still, why is the PHP code commented out in a pure Hugo environment? Thanks for your help, I’ve taken it too long. Will mark the request as resolved.