I was looking at the newly announced Reveal theme for Hugo and it got me wondering if it would be possible to have multiple themes per site.
I could see a site having a main theme, then a secondary theme such as Reveal just for a sub-directory or matching path.
In this specific case I would have my main theme for all my pages, then specify (in config, or frontmatter maybe) that
sub_theme_matching = "/presentations/prez*" would use the Reveal theme. Then paths matching that would use the specified theme.
This content would then use the Reveal theme:
I see this as being useful to apply the Revel presentation theme just to presentation content, without having to built it into my own theme.
Would it be a difficult change to Hugo to have it match and use different themes?
What other scenarios would this be useful for?
Is there an easier way to achieve a secondary theme for a sub-path?