ferron

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

commit d98948920f7efcdff8c128ba1c930593195f8eb4
parent 2f66b40783ac6f7347e05445d747c9cd0483f433
Author: Hugo Soucy <hugo.soucy@equisoft.com>
Date:   Tue,  1 Oct 2019 14:23:55 -0400

Modify the require path in plugin.run

Diffstat:
Mferron/plugin.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ferron/plugin.lua b/ferron/plugin.lua @@ -9,7 +9,7 @@ local pluginmeta = { local fl = require 'ferron.utilities.file-utils' function plugin.run(site, plugname) - local plugin = require(site.config.sites .. fl.getbasename(site.path) .. site.config.paths.plugins .. '/' .. plugname) + local plugin = require(site.plugins .. '/' .. plugname) return plugin.init(site) end