satelito-sample

This is a sample web site for the Satelito ssg.
git clone git://soucy.cc/satelito-sample.git
Log | Files | Refs

commit e766a6c303eeead0a465a58202a985560db65388
parent de2aa2cc3558639516ea6d3a73e5ed61dd7e33f4
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Thu, 22 Apr 2021 14:22:47 -0400

Move or delete some parts and add comments

Diffstat:
Mconfig.lua | 51+++++++++++++++++++++++++++++++++------------------
1 file changed, 33 insertions(+), 18 deletions(-)

diff --git a/config.lua b/config.lua @@ -5,10 +5,42 @@ ]] return { + --[[ + App Mandatory Values + (If you edit them do it carefully) + + - domainname + - siteurl + - language + - paths.* + - mimetypes.* + ]] domainname = "grgmelies.tld", siteurl = "https://grgmelies.tld", language = "en", + -- Main paths + -- Must be relative paths to the config.lua + paths = { + content = 'content/', -- where are the source files (markdown, lua) + templates = 'templates/', -- where are the etlua templates + public_html = 'public_html/', -- where you export your site + -- You can add yours here + }, + + -- Accepted mime types of the non-textual content + mimetypes = { + 'image/svg+xml', + 'image/gif', + 'image/jpeg', + 'image/png', + 'application/pdf', + -- You can add yours here + }, + + --[[ + Templates specific values + ]] metas = { generator = "Satelito", }, @@ -23,22 +55,5 @@ return { "https://codeberg.org/grgmelies", }, }, - - -- Main paths - paths = { - content = 'content/', -- where are the source files - css = 'public_html/css/', - images = 'public_html/images/', - public_html = 'public_html/', - templates = 'templates/', - }, - - -- Accepted mime types of the non-textual content - mimetypes = { - 'image/svg+xml', - 'image/gif', - 'image/jpeg', - 'image/png', - 'application/pdf', - }, + -- You can add yours here }