I’m doing my first steps with Hugo. So far it’s looking great, but I’m confused by the notions of “themes” and “layouts”. How are they different and when would I use one over the other? It seems I can use both for the same purposes, only that a layout file would override a theme file with the same name. Is there more to it?
I’m reviving this old discussion to ask what I see as the implicit question: using a theme to style a website is mandatory?
If I don’t want to share a theme or reuse other’s work but just use a style for a single website, then I don’t need to create a theme, right?
I can use toplevel archetypes/, data/, layouts/ and static/ directories. What about i18n/? Can I use it at toplevel as well (it’s not created by hugo new site)?
Well, maybe using a theme may be recommended anyway. If I want to totally change a website style one day, all I have to do is creating a new theme. This would not be possible if I put the style at toplevel (which overrides any used theme).