make log a valid html journal

This commit is contained in:
sejo 2022-07-10 20:49:34 +02:00
parent 2b657eec77
commit 4f2439b61b
3 changed files with 2 additions and 1 deletions

View File

@ -469,7 +469,7 @@ function genLog()
local date = string.sub(timestamp,1,10) -- YYYY-MM-DD
-- gmo log
local gmoformat = "## %s\n%s\n=> ./%s.gmi {%s}\n\n"
local gmoformat = "+ <article>\n## %s\n%s\n=> ./%s.gmi {%s}\n+ </article>\n"
logs.gmolog.f:write(string.format(gmoformat, date, text, slug, wikilink))
-- gmi sub

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -5,5 +5,6 @@ updates of the project
=> ./tw.txt [twtxt]
=> ./atom.xml [atom feed]
& => ./feed.gmi [gemsub feed]
+ <a href="https://journal.miso.town/validate-by-url?url=https%3A%2F%2Fcompudanzas.net%2Flog.html" target="_blank" rel="noreferrer noopener external" class="icon"><img src="./img/banner_htmljournal.png" alt="Valid HTML Journal" title="Valid HTML Journal"/></a>
# entries