37 lines
777 B
Lua
37 lines
777 B
Lua
local fes = require("fes")
|
|
local std = fes.std
|
|
local u = fes.util
|
|
|
|
local site = fes.fes()
|
|
|
|
local title = "Free Software Distributions"
|
|
|
|
site.title = title .. " - Release"
|
|
site.copyright = u.copyright("https://git.vxserver.dev/fSD", "fSD")
|
|
|
|
site:banner(fes.app.header.render(std))
|
|
|
|
local pkgs = {
|
|
{ "yait", "Highly opinionated C and SH project generator." },
|
|
{ "fes", "A lightweight, static, and opinionated microframework." },
|
|
}
|
|
|
|
for i, pkg in pairs(pkgs) do
|
|
pkgs[i] = std.note(u.cc({
|
|
std.h2(pkg[1]),
|
|
std.muted(pkg[2] or "Could not find a description."),
|
|
std.br(),
|
|
std.ul({
|
|
std.rl(pkg[1], std.external("https://git.vxserver.dev/fSD/" .. pkg[1], "Download")),
|
|
}),
|
|
}))
|
|
end
|
|
|
|
site:custom(u.cc({
|
|
u.cc(pkgs),
|
|
}))
|
|
|
|
site:note(fes.app.footer.render(std))
|
|
|
|
return site
|