alpha
This commit is contained in:
19
core/std.lua
Normal file
19
core/std.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
local M = {}
|
||||
|
||||
function M.fes_version()
|
||||
local fes_mod = package.loaded.fes
|
||||
if fes_mod and fes_mod.config and fes_mod.config.fes and fes_mod.config.fes.version then
|
||||
return fes_mod.config.fes.version
|
||||
end
|
||||
return ""
|
||||
end
|
||||
|
||||
function M.site_version()
|
||||
local fes_mod = package.loaded.fes
|
||||
if fes_mod and fes_mod.config and fes_mod.config.site and fes_mod.config.site.version then
|
||||
return fes_mod.config.site.version
|
||||
end
|
||||
return ""
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user