I wanted to add a new landing page and added a new ‘message.html’ file in the layouts folder.
(I copied the existing 404.html file in the same folder and modified it minimally to add a new paragraph)
Should this be good enough to generate message.html in the Public folder when I run the Hugo command? Or, do I need another step to tell Hugo to generate message.html from the layout file?
Thank you, I tried it as you had indicated a few times, but, a new file was not generated.
As a work around, I have created an html file (edit by hand) and deployed, the edit path worked.
I not sure what you did, but you did it wrong. Try it:
git clone --single-branch -b hugo-forum-topic-39951 https://github.com/jmooring/hugo-testing hugo-forum-topic-39951
cd hugo-forum-topic-39951
hugo server
Thanks for sharing, I tried yours and I see how it works. I noticed one thing that might make a difference. Themefisher classifies the theme I have as a Bootstrap Template … is this different from a Hugo Theme?