satelito

Static [web] site (or page) generator (ssg) made with Lua script.
git clone git://soucy.cc/satelito.git
Log | Files | Refs | README

commit 5d9bb5f92279e3b52681e248849e66d9bf6ab49a
parent ccffc82af6f42f583127279798d1973afb12c266
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Thu, 22 Apr 2021 16:03:42 -0400

Remove domainname needs just use siteurl

Diffstat:
Msatelito/model.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/satelito/model.lua b/satelito/model.lua @@ -41,7 +41,7 @@ function model.set(filepath, config, contentdir) pagemeta.time_modified_child = file.get_lastmodified(lume.array(dirtree.get(file.get_dirname(filepath)))) -- Unique page ID for the Atom feed - pagemeta.id = 'tag:' .. config.domainname .. ',' .. pagemeta.date .. ':' .. pagemeta.rellink + pagemeta.id = 'tag:' .. config.siteurl:match('^%w+://([^/]+)') .. ',' .. pagemeta.date .. ':' .. pagemeta.rellink -- HTML content pagemeta.content = markdown(file.read(filepath))