ferron

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

commit 250d96be74b56785e9371a03f829dca1f7a1eef5
parent ae6c48bf6f86fd79dbe03b36e92cd1dd331bd735
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sat, 29 Dec 2018 22:46:45 -0500

Move mimetypes table and simply return the table directly

Diffstat:
Msites/ferron-ssg.tld/config.lua | 14+-------------
1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/sites/ferron-ssg.tld/config.lua b/sites/ferron-ssg.tld/config.lua @@ -2,7 +2,7 @@ -- Web Site Configuration File -- -local siteconfig = { +return { domainname = "ferron-ssg.tld", url = "http://ferron-ssg.tld", urldev = "http://localhost:8181", @@ -36,16 +36,4 @@ local siteconfig = { templates = "/templates", plugins = "/plugins", }, - - -- Accepted mime types of the non-textual content - mimetypes = { - "image/svg+xml", - "image/jpeg", - "image/png", - "application/pdf", - }, - - metaskeyorder = {"bridgy","cite","citeurl","content","date","datetime","description","id","keywords","permalink","shortlink","template","title"}, } - -return siteconfig