ferron

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

commit 4f4b466521b02fa2e8b7b3bafb380dde22a7c25f
parent 4dc4626e8214ee1b0e55991062a88dac5cc6b498
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Mon, 15 Oct 2018 22:22:18 -0400

Change the plugin require path

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

diff --git a/ferron/plugin.lua b/ferron/plugin.lua @@ -5,7 +5,7 @@ local plugin = {} function plugin.run(site, plugname) local path = require "path" - local plugin = require(site.config.sites .. path.basename(site.path) .. "/plugins/" .. plugname) + local plugin = require(site.config.sites .. path.basename(site.path) .. site.config.paths.plugins .. "/" .. plugname) return plugin.init(site) end