This is similar to post: Organisation and Configuration for two static sites in the same folder, but it’s been 3 years since that post, so I’m hoping there’s a better alternative.
Recently I’ve switched from Jekyll to Hugo. On my old site, I figured out a hacky way to have two themes for the static site that was pretty close to what was described in the post above.
However, because the difference between the ‘dark’ theme and the ‘light’ theme is one css file name (theme-light.css vs theme-dark.css), I’m hoping there’s some way to switch between the two that doesn’t involve maintaining two sites (even if that maintenance is just copying or linking the entire tree for the second site.)
Is there a better way to do this today?