refactor: update dir name to match url
This commit is contained in:
31
man.fsdproject.org/www/index.lua
Normal file
31
man.fsdproject.org/www/index.lua
Normal file
@@ -0,0 +1,31 @@
|
||||
local fes = require("fes")
|
||||
|
||||
local std = fes.std
|
||||
local u = fes.util
|
||||
|
||||
local site = fes.fes()
|
||||
|
||||
site.title = "Free Software Distributions Documentation"
|
||||
site.copyright = fes.util.copyright("https://fsdproject.org", "fSD")
|
||||
site.favicon = "/static/favicon.ico"
|
||||
site:banner(fes.util.cc {
|
||||
fes.std.center(fes.std.ha("/", fes.std.h1("Free Software Distributions"))),
|
||||
})
|
||||
|
||||
site:note(u.cc {
|
||||
std.center(std.h1("Online fSD manuals")),
|
||||
std.note(u.cc {
|
||||
std.center(std.h3("Fes")),
|
||||
std.a("/static/fes.html", std.h4("Fes")),
|
||||
std.p("  Free Easy Site Online Documentation. [" .. std.a("https://fsdproject.org/releases/fes", "fes home") .. "]"),
|
||||
}),
|
||||
std.note(u.cc {
|
||||
std.center(std.h3("Tools")),
|
||||
std.a("/static/yait.html", std.h4("Yait")),
|
||||
std.p("  Yet Another Init Tool Online Documentation. [" .. std.a("https://fsdproject.org/releases/yait", "yait home") .. "]"),
|
||||
std.a("/static/fp.html", std.h4("Fp")),
|
||||
std.p("  Free Pkg Online Documentation. [" .. std.a("https://fsdproject.org/releases/fp", "fp home") .. "]"),
|
||||
})
|
||||
})
|
||||
|
||||
return site
|
||||
Reference in New Issue
Block a user