Problem/Motivation
In #3512766: Optimize redirect chain retrieval in VariationCache, I noticed that we're currently rendering the umami_search block 3 times, because there's a repeated check for whether or not there are any blocks in those regions, first one of the two, then either, then actually rendering them.
Steps to reproduce
Proposed resolution
As a demo theme, I think umami doesn't really need to worry about people removing those blocks?
If we for some reason do, we could store the rendered output into a variable and check and display that.