return function(_, _) return h.div({ id = "sidebar", h.ul({ h(Iter.lst(maivi.data.sections) :map(function(_, data) local href = string.format("#%s", data.id) return h.li({ class = data.header and "header" or nil, h.a({ href = href, data.section, }), }) end) :to()), }), h.footer({ h.div({ [[built with ]], h.a({ href = "https://codeberg.org/comfysage/maivi", target = "_blank", "maivi", }), [[ <3]], }), h.div({ [[& powered by ]], h.a({ href = "https://ebil.club", target = "_blank", "ebil.club", }), [[ >:3]], }), }), }) end