ferron

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

commit 20b6c1652edff2a5724bc579c3de5408851b765f
parent ca8a6953c1e8ace53f902de668d1116f9ad8db37
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sat, 29 Dec 2018 22:34:04 -0500

Remove unused dependencies + moved mimetypes table here

Diffstat:
Mferron/config.lua | 17++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/ferron/config.lua b/ferron/config.lua @@ -2,7 +2,7 @@ -- Ferron SSG Configuration File -- -local config = { +return { source = { url = "https://github.com/hs0ucy/ferron-ssg" }, @@ -20,10 +20,8 @@ local config = { modules = { "luafilesystem", "lustache", - "lua-path", "lua-discount", "dkjson", - "etlua", "inspect", "mimetypes" } @@ -43,6 +41,15 @@ local config = { extension = ".json", }, }, -} -return config + -- Accepted mime types of the non-textual content + mimetypes = { + "image/svg+xml", + "image/gif", + "image/jpeg", + "image/png", + "application/pdf", + }, + + metaskeyorder = {"bridgy","content","date","datetime","description","id","keywords","permalink","shortlink","template","title"}, +}