WIP broken stage
This commit is contained in:
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
@@ -35,6 +35,12 @@ function M.a(link, str)
|
||||
return M.element("a", { href = link }, str)
|
||||
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)
|
||||
link = link or "https://example.com"
|
||||
str = str or link
|
||||
|
||||
@@ -11,8 +11,8 @@ function M.year(y)
|
||||
return y or os.date("%Y")
|
||||
end
|
||||
|
||||
function M.copyright(link, holder, year)
|
||||
return symbol.legal.copyright .. " " .. M.year(year) .. " " .. std.external(link, holder)
|
||||
function M.copyright(link, holder)
|
||||
return symbol.legal.copyright .. " " .. std.external(link, holder)
|
||||
end
|
||||
|
||||
function M.license(name)
|
||||
|
||||
@@ -9,7 +9,7 @@ var gitCommit string = "devel"
|
||||
|
||||
const PROGRAM_NAME string = "fes"
|
||||
const PROGRAM_NAME_LONG string = "fes/fSD"
|
||||
const VERSION string = "0.3.0"
|
||||
const VERSION string = "0.3.1"
|
||||
|
||||
func Version() {
|
||||
fmt.Printf("%s version %s\n", PROGRAM_NAME_LONG, VERSION)
|
||||
|
||||
Reference in New Issue
Block a user