corrected domain in feeds
This commit is contained in:
parent
f8216957aa
commit
7c88bc3977
|
@ -7,7 +7,6 @@ meta = {
|
||||||
|
|
||||||
webdir = "web" -- web output directory
|
webdir = "web" -- web output directory
|
||||||
gemdir = "gem" -- gemini output directory
|
gemdir = "gem" -- gemini output directory
|
||||||
-- TODO templates in spanish
|
|
||||||
templates = {
|
templates = {
|
||||||
webEn = {
|
webEn = {
|
||||||
header = { path = "pageheader.html", template = ""},
|
header = { path = "pageheader.html", template = ""},
|
||||||
|
@ -454,14 +453,14 @@ function genLog()
|
||||||
logs.gmolog.f:write(string.format(gmoformat, date, text, slug, wikilink))
|
logs.gmolog.f:write(string.format(gmoformat, date, text, slug, wikilink))
|
||||||
|
|
||||||
-- twtxt
|
-- twtxt
|
||||||
local weburl = string.format("https://%s/%s.html",domain,slug)
|
local weburl = string.format("https://%s/%s.html",meta.domain,slug)
|
||||||
local gemurl = string.format("gemini://%s/%s.gmi",domain,slug)
|
local gemurl = string.format("gemini://%s/%s.gmi",meta.domain,slug)
|
||||||
local twtxtformat = "%s\t%s | %s\n"
|
local twtxtformat = "%s\t%s | %s\n"
|
||||||
logs.webtw.f:write(string.format(twtxtformat, timestamp, text, weburl))
|
logs.webtw.f:write(string.format(twtxtformat, timestamp, text, weburl))
|
||||||
logs.gemtw.f:write(string.format(twtxtformat, timestamp, text, gemurl))
|
logs.gemtw.f:write(string.format(twtxtformat, timestamp, text, gemurl))
|
||||||
|
|
||||||
-- atom
|
-- 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 = [[
|
local atomformat = [[
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
|
|
Loading…
Reference in New Issue