ferron

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

commit cf8c3cc0ce44935860b70e3bc6855a4d6d45cd01
parent 2a52a61678a9bec947a8cd1a58a8248316722629
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Fri,  2 Feb 2018 16:07:28 -0500

Change site.config to site-config

Diffstat:
MREADME.md | 6+++---
Msites/ferron-ssg.tld/content/index.json | 2+-
Msites/ferron-ssg.tld/content/index.md | 6+++---
Msites/ferron-ssg.tld/site-config.lua | 15+++++++--------
4 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/README.md b/README.md @@ -31,10 +31,10 @@ cd sites/ && cp -R ferron-ssg.tld mynewwebsite.net && ls ``` After that with your favorite texteditor or IDE edit the -`site.config.lua` to meet the needs of your web site: +`site-config.lua` to meet the needs of your web site: ``` -emacs site.config.lua +emacs site-config.lua ``` ### Architecture of a ferron website @@ -51,7 +51,7 @@ emacs site.config.lua * `index.md` * **`public_html`** * `.gitignore` - * `site.config.lua` + * `site-config.lua` * **`static`** * **`templates`** diff --git a/sites/ferron-ssg.tld/content/index.json b/sites/ferron-ssg.tld/content/index.json @@ -4,5 +4,5 @@ "id":"tag:ferron-ssg.tld,0000-00-00:0000/00/index", "template":"default", "title":"Welcome to Ferron SSG", - "updated":"2017-11-22T08:59:26" + "updated":"2018-02-02T14:11:15" } \ No newline at end of file diff --git a/sites/ferron-ssg.tld/content/index.md b/sites/ferron-ssg.tld/content/index.md @@ -31,10 +31,10 @@ cd sites/ && cp -R ferron-ssg.tld mynewwebsite.net && ls ``` After that with your favorite texteditor or IDE edit the -`site.config.lua` to meet the needs of your web site: +`site-config.lua` to meet the needs of your web site: ``` -emacs site.config.lua +emacs site-config.lua ``` @@ -67,7 +67,7 @@ emacs site.config.lua * **`archetypes`** * **`content`** * **`public_html`** - * `site.config.lua` + * `site-config.lua` * **`static`** * **`templates`** diff --git a/sites/ferron-ssg.tld/site-config.lua b/sites/ferron-ssg.tld/site-config.lua @@ -2,7 +2,7 @@ -- Web Site Configuration File -- -local siteconfig = { +siteconfig = { domainname = "ferron-ssg.tld", url = "http://ferron-ssg.tld", urldev = "http://localhost:8181", @@ -13,17 +13,18 @@ local siteconfig = { metas = { description = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit.", keywords = "SSG, lua", - generator = "Ferron SSG" + generator = "Ferron SSG", }, author = { name = "John Doe", + nickname = "", jobtitle = "Web Developper", email = "john@samplesite.tld", phone = "555-555-5555", locality ="Quebec city", region = "Qc", - uri = "http://johndoe.tld/#i" + uri = "http://johndoe.tld/#i", }, paths = { @@ -31,7 +32,7 @@ local siteconfig = { content = "/content", html = "/public_html", static = "/static", - templates = "/templates" + templates = "/templates", }, -- Accepted mime types of the non-textual content @@ -39,8 +40,6 @@ local siteconfig = { "image/svg+xml", "image/jpeg", "image/png", - "application/pdf" - } + "application/pdf", + }, } - -return siteconfig