diff --git a/generasitio.lua b/generasitio.lua index d5e843b..a9308d2 100644 --- a/generasitio.lua +++ b/generasitio.lua @@ -7,7 +7,6 @@ meta = { webdir = "web" -- web output directory gemdir = "gem" -- gemini output directory --- TODO templates in spanish templates = { webEn = { header = { path = "pageheader.html", template = ""}, @@ -454,14 +453,14 @@ function genLog() logs.gmolog.f:write(string.format(gmoformat, date, text, slug, wikilink)) -- twtxt - local weburl = string.format("https://%s/%s.html",domain,slug) - local gemurl = string.format("gemini://%s/%s.gmi",domain,slug) + local weburl = string.format("https://%s/%s.html",meta.domain,slug) + local gemurl = string.format("gemini://%s/%s.gmi",meta.domain,slug) local twtxtformat = "%s\t%s | %s\n" logs.webtw.f:write(string.format(twtxtformat, timestamp, text, weburl)) logs.gemtw.f:write(string.format(twtxtformat, timestamp, text, gemurl)) -- atom - local weburldate = string.format("https://%s/%s.html#%s",domain,slug,date) + local weburldate = string.format("https://%s/%s.html#%s",meta.domain,slug,date) local atomformat = [[