corrected domain in feeds
This commit is contained in:
parent
f8216957aa
commit
7c88bc3977
|
@ -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 = [[
|
||||
|
||||
<entry>
|
||||
|
|
Loading…
Reference in New Issue