22 lines
416 B
Lua
22 lines
416 B
Lua
local fes = require("fes")
|
|
|
|
local std = fes.std
|
|
local u = fes.util
|
|
|
|
local site = fes.fes()
|
|
site.title = "Notes"
|
|
site.favicon = ""
|
|
site.copyright = u.copyright("https://fsdproject.org/people/vxclutch", "vxclutch")
|
|
|
|
site:banner(std.h1("Notes of vxclutch"))
|
|
|
|
local notes = {}
|
|
|
|
for _, value in pairs(u.ls("www/notes")) do
|
|
table.insert(notes, std.a("/notes/" .. value, value))
|
|
end
|
|
|
|
site:note(std.ul(notes))
|
|
|
|
return site
|