ferron

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

commit 27d4adc1e45c8113294360eb50b6cf2aa4e49b89
parent 8e95d4eb08fd233c0bc1cddbae325eabff55de84
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun, 19 Aug 2018 20:31:19 -0400

Replace markdown by discount + add lua-posix

Diffstat:
Mconfig.lua | 5+++--
Mferron/list.lua | 2+-
Mferron/page.lua | 2+-
3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/config.lua b/config.lua @@ -24,9 +24,10 @@ local config = { "luafilesystem", "lustache", "lua-path", + "luaposix", + "lua-discount", "dkjson", - "inspect", - "markdown", + "inspect", "mimetypes" } } diff --git a/ferron/list.lua b/ferron/list.lua @@ -1,6 +1,6 @@ -- local json = require "dkjson" -local markdown = require "markdown" +local markdown = require "discount" local path = require "path" local fileutils = require "ferron.utilities.file-utils" local tableutils = require "ferron.utilities.table-utils" diff --git a/ferron/page.lua b/ferron/page.lua @@ -1,6 +1,6 @@ -- local json = require "dkjson" -local markdown = require "markdown" +local markdown = require "discount" local path = require "path" local fileutils = require "ferron.utilities.file-utils" local tableutils = require "ferron.utilities.table-utils"