diff --git a/TODO b/TODO index 86610a0..54f6186 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ Make this static ( cannot find core.std everywhere ) Add hotreloading Add an interval element -Improve the CSS +Compare bin version to Fes.toml diff --git a/core/builtin.lua b/core/builtin.lua index 1ba1e3e..0fa4440 100644 --- a/core/builtin.lua +++ b/core/builtin.lua @@ -20,7 +20,7 @@ function M.site_builder(header, footer) title = site_config.title or "Document", copyright = site_config.copyright or "© The Copyright Holder", header = header or [[ - + diff --git a/core/std.lua b/core/std.lua index 33f4879..36df1f8 100644 --- a/core/std.lua +++ b/core/std.lua @@ -206,4 +206,8 @@ function M.table(headers, rows) return html end +function M.copyright() + return "©" +end + return M diff --git a/doc/www/index.lua b/doc/www/index.lua index 8be3da3..afc9282 100644 --- a/doc/www/index.lua +++ b/doc/www/index.lua @@ -2,6 +2,7 @@ local fes = require("fes") local site = fes.site_builder() site.title = "Fes Documentation" +site.copyright = fes.std.copyright() .. " " .. fes.std.external("https://git.vxserver.dev/fSD", "fSD") site:h1("Fes Documentation") site:note([[