I want to create a single static page for my custom theme. I do not need this to handle any content, so I would prefer to not do this through a single item page and prefer not to depend on any dummy file in the contents dir.
Why would I need this? This page will be a search result page, which doesn’t need any generated content, just a place where it can show the results through some js magic.
Hm, this works, but I may have missed some part. While I don’t need any dynamic content, I would prefer to use the theme’s templates already set up, so I can render my content in the “main” block and reusing the wrapper code already set up.
Not sure if this is possible through the static folder but it looks like to me the files there are as-is without any go template features.
It feels a bit out of place to me, as it would indicate that this should be changed by a content editor, while that’s not the case. Changing that file at best would do nothing, at worst will break functionality.
Regardless of this, I’m not sure if this is the “Hugo way” and if I try to accomplish something that goes against the central logic of Hugo, or I’m just missing something basic.