ferron

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

commit a6dffb8c2f1299388666cb996bf139caa303e3a8
parent 414ba74a7c7a3088ed153b2fd3c9b0ca839165a7
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Fri,  2 Feb 2018 14:19:19 -0500

Rename site.config.lua

Diffstat:
Asites/ferron-ssg.tld/site-config.lua | 46++++++++++++++++++++++++++++++++++++++++++++++
Dsites/ferron-ssg.tld/site.config.lua | 44--------------------------------------------
2 files changed, 46 insertions(+), 44 deletions(-)

diff --git a/sites/ferron-ssg.tld/site-config.lua b/sites/ferron-ssg.tld/site-config.lua @@ -0,0 +1,46 @@ +-- +-- Web Site Configuration File +-- + +local siteconfig = { + domainname = "ferron-ssg.tld", + url = "http://ferron-ssg.tld", + urldev = "http://localhost:8181", + portdev = "8181", + baseurl = "http://ferron-ssg.tld", + language = "fr", + + metas = { + description = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit.", + keywords = "SSG, lua", + generator = "Ferron SSG" + }, + + author = { + name = "John Doe", + jobtitle = "Web Developper", + email = "john@samplesite.tld", + phone = "555-555-5555", + locality ="Quebec city", + region = "Qc", + uri = "http://johndoe.tld/#i" + }, + + paths = { + archetypes = "/archetypes", + content = "/content", + html = "/public_html", + static = "/static", + templates = "/templates" + }, + + -- Accepted mime types of the non-textual content + mimetypes = { + "image/svg+xml", + "image/jpeg", + "image/png", + "application/pdf" + } +} + +return siteconfig diff --git a/sites/ferron-ssg.tld/site.config.lua b/sites/ferron-ssg.tld/site.config.lua @@ -1,44 +0,0 @@ --- --- Web Site Configuration File --- - -site = { - domainname = "ferron-ssg.tld", - url = "http://ferron-ssg.tld", - urldev = "http://localhost:8181", - portdev = "8181", - baseurl = "http://ferron-ssg.tld", - language = "fr", - - metas = { - description = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit.", - keywords = "SSG, lua", - generator = "Ferron SSG" - }, - - author = { - name = "John Doe", - jobtitle = "Web Developper", - email = "john@samplesite.tld", - phone = "555-555-5555", - locality ="Quebec city", - region = "Qc", - uri = "http://johndoe.tld/#i" - }, - - paths = { - archetypes = "/archetypes", - content = "/content", - html = "/public_html", - static = "/static", - templates = "/templates" - }, - - -- Accepted mime types of the non-textual content - mimetypes = { - "image/svg+xml", - "image/jpeg", - "image/png", - "application/pdf" - } -}