satelito

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

commit a1a3312a9decdcd18270a4563e45256a7b154344
parent 99ec9048006c7cfc479ea90fd4d19f4ae23e1f2d
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Mon, 12 Apr 2021 11:47:53 -0400

Change config.url to config.siteurl

Diffstat:
Msatelito/model.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/satelito/model.lua b/satelito/model.lua @@ -30,9 +30,9 @@ function model.set(filepath, config, contentdir) -- Link properties pagemeta.rellink = file.get_rellink(filepath, contentdir) - pagemeta.permalink = file.get_permalink(filepath, contentdir, config.url) + pagemeta.permalink = file.get_permalink(filepath, contentdir, config.siteurl) pagemeta.exportlink = file.get_exportlink(filepath, contentdir, config.paths.public_html) - pagemeta.dirlink = file.get_permalink(filepath, contentdir, config.url):match("(.*/)") + pagemeta.dirlink = file.get_permalink(filepath, contentdir, config.siteurl):match("(.*/)") -- Time properties pagemeta.time_created = time_created