alpha p10

This commit is contained in:
2025-12-07 12:24:47 -05:00
parent 4ff689e299
commit 8dca9ab5da
39 changed files with 124 additions and 309 deletions

View File

@@ -0,0 +1,5 @@
[app]
name = "advanced"
version = "0.0.1"
authors = ["vx-clutch"]

View File

@@ -0,0 +1,7 @@
local foo = {}
foo.render = function()
return "This was called from a foo function"
end
return foo

View File

@@ -0,0 +1,15 @@
local fes = require("fes")
local std = fes.std
local site = fes.fes()
site.copyright = fes.util.copyright("https://git.vxserver.dev/fSD", "fSD")
site:h1("Hello, World!")
site:note(
fes.app.foo.render()
)
return site

View File

@@ -0,0 +1,5 @@
[app]
name = "archive"
version = "0.0.1"
authors = ["vx-clutch"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@@ -0,0 +1,17 @@
local fes = require("fes")
local std = fes.std
local site = fes.fes()
site.copyright = fes.util.copyright("https://git.vxserver.dev/fSD", "fSD")
site:h1("Hello, World!")
site:note(fes.util.cc {
std.h2("Files"),
std.ul {
std.a("/archive", "to the file room!"),
}
})
return site

5
examples/error/Fes.toml Normal file
View File

@@ -0,0 +1,5 @@
[app]
name = "error"
version = "0.0.1"
authors = ["vx-clutch"]

View File

@@ -0,0 +1,6 @@
local fes = require("fes")
local site = fes.fes()
This is what an error looks like
return site

5
examples/hello/Fes.toml Normal file
View File

@@ -0,0 +1,5 @@
[app]
name = "hello"
version = "0.0.1"
authors = ["vx-clutch"]

View File

@@ -0,0 +1,8 @@
local fes = require("fes")
local site = fes.fes()
site.copyright = fes.util.copyright("https://git.vxserver.dev/fSD", "fSD")
site:h1("Hello, World!")
return site

5
examples/simple/Fes.toml Normal file
View File

@@ -0,0 +1,5 @@
[app]
name = "simple"
version = "0.0.1"
authors = ["vx-clutch"]

View File

@@ -0,0 +1 @@
return "Hello, World!"