···
46
46
})
47
47
end
48
48
49
49
+
local function link_list(links)
50
50
+
return h.ul(h(Iter.lst(links)
51
51
+
:map(function(_, link)
52
52
+
return h.li(h.a({ link.name, target = "_blank", href = link.href }))
53
53
+
end)
54
54
+
:to()))
55
55
+
end
56
56
+
49
57
local function body()
50
58
return h.body({
51
59
h.h1("june"),
52
52
-
h.ul(h(Iter.lst({
60
60
+
link_list({
53
61
{ name = "tangled", href = "https://tangled.org/" .. did },
54
62
{ name = "bluesky", href = "https://bsky.app/profile/" .. did },
55
63
{ name = "website", href = site },
56
56
-
{ name = "projects", href = site .. "/projects" },
57
57
-
{ name = "contact", href = site .. "/contact" },
58
58
-
{ name = "donate", href = site .. "/donate" },
59
59
-
})
60
60
-
:map(function(_, link)
61
61
-
return h.li(h.a({ link.name, target = "_blank", href = link.href }))
62
62
-
end)
63
63
-
:to())),
64
64
+
{ name = "forgejo", href = "https://git.koi.rip" },
65
65
+
}),
64
66
})
65
67
end
66
68