robin/maivi
a tiny cute lua web framework
git clone https://git.robinwobin.dev/robin/maivi
897859d
push-srxvuswpkqxx
1return function ( _ , _ ) 2return h . div ( { 3id ="sidebar" , 4 5h . ul ( { 6h ( Iter . lst ( maivi . data . sections ) 7: map ( function ( _ , data ) 8local href =string . format ( "#%s" , data . id ) 9 10return h . li ( { 11class =data . header and "header" or nil , 12h . a ( { 13href =href , 14data . section , 15} ), 16} ) 17end ) 18: to ()), 19} ), 20 21h . footer ( { 22h . div ( { 23[[built with ]] , 24h . a ( { 25href ="https://codeberg.org/comfysage/maivi" , 26target ="_blank" , 27"maivi" , 28} ), 29[[ <3]] , 30} ), 31h . div ( { 32[[& powered by ]] , 33h . a ( { 34href ="https://ebil.club" , 35target ="_blank" , 36"ebil.club" , 37} ), 38[[ >:3]] , 39} ), 40} ), 41} ) 42end