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

@@ -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

View File

@@ -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)