Hi @kongondo
Hope you're doing well, can't believe it's been almost another year! I have another question for you that I'm hoping you can help with. I am trying to format my blog archive widget such that the names of the months only appear once in the list, with the corresponding years associated with each month displayed, for example, something like this:
Unfortunately, the actual output is like this (notice the repeating "September" for both 2020 and 2021):
I've been trying to edit the renderArchives() function within MarkupBlog.module trying to get it to determine the months first, before the years, but that seems impossible as the array passed to the main function is sorted by years. Any ideas how to make it work, so that the name of the month doesn't repeat twice, and instead looks like the first screenshot? I've tried various functions to determine the unique months in every year using array_column and array_merge to then not repeat the name of the month, but after many hours of no success, I'm really hoping you can point me in the right direction!
Thank you in advance!