1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#import "lib.typ": entries #let base = "https://0x4200.cafe/" #for e in entries { html.elem("item")[ #html.elem("title")[ #text(e.name) ] #html.elem("h1")[ #text(base + e.file.replace(".typ", ".html").replace("./", "")) ] ] }