commit 5901949a7f5c8296a83a81209ce714bd49827b12
parent aae7522b1650b881345bc846f65bc8ca22318f5f
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date: Tue, 5 Feb 2019 08:37:31 -0500
Return the site table instead of a boolean
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ferron/site.lua b/ferron/site.lua
@@ -75,7 +75,7 @@ function site.setsite(sitename)
Ferron.site.static = Ferron.site.path .. Ferron.site.config.paths.static
Ferron.site.templates = Ferron.site.path .. Ferron.site.config.paths.templates
- return true
+ return Ferron.site
end
function site.setnavigation(contentlocation)