In my base.html
template I have a for
loop that prints all post titles in the footer, grouped by year.
The base.html
template is used via {% extends %}
on all page and section templates.
Zola’s render times have of course skyrocketed up to 20 seconds, while it runs the same loop for every page on the site.
Is there a more efficient way in Zola to render such a loop just once and reuse its result on every page?