Hi,
grav is really impressive but I’m still new and need help. I would like to have on my website 2 blogs:
blog A - antimatter + theme changes = mytheme_A
blog B - antimatter + theme changes = mytheme_B
fairly easy, but how to get them to work together, config/system.yaml permits only one theme. The second problem is that I need simplesearch separately for each blog, simplesearch for blog A and simplesearch for blog B, if it’s possible.
Maybe Themer plugin would be a solution but for the moment I do not really know how to configure it.
Regarding the two blogs with changes, there are a couple of approaches, but the simplest would be to have a set of modified twig templates in your theme for each blog. You don’t really need to have multiple themes. Just ensure that Blog A has a markdown file called blog-a.md that uses blog-a.html.twig and Blog B with blog-b.md uses blog-b.html.twig. Of course same thing goes for the actual blog posts of item-a.md and item-b.md respectively.
On the serach side of things… this actually ‘could’ be done with a fairly simple modification to simplesearch to merge in ‘page’ level configuration options rather than just the site-wide plugin configuration.
It currently doesn’t support this, but other plugins do this and it would just mean copying over that same logic to simplesearch…