Since Bulma supports dropdown navigation and several navbar areas, a series of loops for each section would be handy and easier to manage.
Example solution
That idea will need to be expanded to handle the different sections, but shouldn't be difficult.