ferron

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

commit 1a71f8753c23ab7fb277f83f8e510011aa093b58
parent 913ad9de7b989c78ed1765afd9484b35f1a84059
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date:   Mon, 21 Jan 2019 12:28:52 -0500

Fix a bug in the setcontent method

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

diff --git a/ferron/content.lua b/ferron/content.lua @@ -29,8 +29,8 @@ function content.getarchetypes(dir) end end -function content.setcontent(site) - local archetypes = content.getarchetypes(site.path .. site.config.paths.archetypes) +function content.setcontent() + local archetypes = content.getarchetypes(site.archetypes) local whicharchetype = nil local whichtitle = nil