ferron

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

commit c587bf623974b93cf03530ab85bfa01575bbf2e1
parent adf80219439497f5ecd5dfc386653861f6c20761
Author: Hugo Soucy <hugo.soucy@equisoft.com>
Date:   Sun, 20 Oct 2019 16:12:21 -0400

Simplify some calls

Diffstat:
Mferron/init.lua | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

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