ferron

Ferron is a fast and simple static website generator made with Lua.
Log | Files | Refs | Submodules | README | LICENSE

commit 26602ab197b23dd62677e88f90b10a58a5a6d5d5
parent fd57721a9147c7f5178bd3fbc4eba8b31b056502
Author: Hugo Soucy <hugo.soucy@equisoft.com>
Date:   Sun, 13 Oct 2019 08:17:53 -0400

Requires specific functions from some modules.

Diffstat:
Mferron/init.lua | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ferron/init.lua b/ferron/init.lua @@ -12,9 +12,9 @@ local lfs = require 'lfs' local config = require 'ferron.config' local site = require 'ferron.site' local content = require 'ferron.content' -local page = require 'ferron.page' +local makepages = require('ferron.page').makepages local link = require 'ferron.link' -local static = require 'ferron.static' +local static = require('ferron.static').init local plugin = require 'ferron.plugin' local tb = require 'ferron.utilities.table-utils' @@ -39,10 +39,10 @@ if arg[1] == 'build' then end return tb.build{ - page.makepages(site.setsite(sitename)), + makepages(site.setsite(sitename)), -- link.makeshorts(), -- link.makerewritemap(), - static.init() + static() } end end