generate gmisub feed
This commit is contained in:
parent
3249b44e06
commit
4082e7cecd
|
@ -452,6 +452,10 @@ function genLog()
|
|||
local gmoformat = "## %s\n%s\n=> ./%s.gmi {%s}\n\n"
|
||||
logs.gmolog.f:write(string.format(gmoformat, date, text, slug, wikilink))
|
||||
|
||||
-- gmi sub
|
||||
local gmisubformat = "=> ./%s.gmi %s %s\n"
|
||||
logs.gemfeed.f:write(string.format(gmisubformat, slug, date, text))
|
||||
|
||||
-- twtxt
|
||||
local weburl = string.format("https://%s/%s.html",meta.domain,slug)
|
||||
local gemurl = string.format("gemini://%s/%s.gmi",meta.domain,slug)
|
||||
|
|
Loading…
Reference in New Issue