|
|
@@ -29,7 +29,7 @@ for k,infile in ipairs(mdfiles) do |
|
|
|
local page = sitelib.parsepage(c) |
|
|
|
if page.date then page.title = string.format("%s (%s)",page.title,page.date) end |
|
|
|
local fline = page.md:match("\n\n(.-)\n") |
|
|
|
index = string.format("0%s\t%s\t%s\t%d\ni%s\n%s",page.title,fpath,sitelib.hostname,sitelib.gopherport,fline,index) |
|
|
|
index = string.format("0%s\t%s\t%s\t%d\ni%s\ni\n%s",page.title,fpath,sitelib.hostname,sitelib.gopherport,fline,index) |
|
|
|
end |
|
|
|
index=sitelib.gheader .. index .. sitelib.gfooter |
|
|
|
|
|
|
|