I just pointed to “the documentation”, you would have to look it up yourself.
To sum up:
- Files in /layout are layout files, chosen by some rules by Hugo to render content. Putting static files in here is very unusual, and you should know the whats.
- HTML files in /static … is static, so what you put in the file is what gets published
- HTML files in /content:
– if it has front matter (even only empty), it gets rendered as a content file with layout file, partials, shortcodes etc.
– if it does not have front matter, it behaves as it was placed in /static