WIP broken stage

This commit is contained in:
2026-01-06 15:40:30 -05:00
parent 85bd564164
commit 2c2dc57453
32 changed files with 9 additions and 3 deletions

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@@ -35,6 +35,12 @@ function M.a(link, str)
return M.element("a", { href = link }, str) return M.element("a", { href = link }, str)
end end
function M.download(link, str, downloadName)
link = link or "."
str = str or link
return M.element("a", { href = link, download = downloadName }, str)
end
function M.ha(link, str) function M.ha(link, str)
link = link or "https://example.com" link = link or "https://example.com"
str = str or link str = str or link

View File

@@ -11,8 +11,8 @@ function M.year(y)
return y or os.date("%Y") return y or os.date("%Y")
end end
function M.copyright(link, holder, year) function M.copyright(link, holder)
return symbol.legal.copyright .. " " .. M.year(year) .. " " .. std.external(link, holder) return symbol.legal.copyright .. " " .. std.external(link, holder)
end end
function M.license(name) function M.license(name)

View File

@@ -9,7 +9,7 @@ var gitCommit string = "devel"
const PROGRAM_NAME string = "fes" const PROGRAM_NAME string = "fes"
const PROGRAM_NAME_LONG string = "fes/fSD" const PROGRAM_NAME_LONG string = "fes/fSD"
const VERSION string = "0.3.0" const VERSION string = "0.3.1"
func Version() { func Version() {
fmt.Printf("%s version %s\n", PROGRAM_NAME_LONG, VERSION) fmt.Printf("%s version %s\n", PROGRAM_NAME_LONG, VERSION)