make log a valid html journal
This commit is contained in:
parent
2b657eec77
commit
4f2439b61b
|
@ -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 |
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue