I have managed to get my first hugo test site working more or less as I wantedm, using a theme picked up more or less at random in the theme gallery.
Using that theme (academic), I set up custom home page, menus, permalinks and similar things. Once that worked, I said OK, let’s see how this looks with other themes. I got a mess. Lots of errors like:
ERROR: 2017/01/05 18:31:51 template.go:142: Unable to render [partials/navbar.html theme/partials/navbar.html]
and a site without a theme, and without the basic features, e.g. menus, even in themes that do support menus. I have tried 3/4 other themes, it’s always the same result.
Now I may look at all errors, add the required partials or other files one by one, etc… until I hopefully get everything working. Until I have to do the same thing to try another theme.
But I’d rather learn why this happens in the first place, and how, in general, to easily switch from theme to theme. In other words:
- how much of this depends on hugo themes not being standardized, i.e. each theme developer giving different names to the same things/options/files, or similar? (not criticizing, just curious, really)
- what is the most efficient way to handle this? Besides the obvious copy and paste of theme-specific options in config.toml, I mean? Is there an efficient method to follow, once you download a new theme, to make sure that it will work? Something like check if these files are present in this folder, if not copy them?