update `pandoc` data dir
parent
0b05224980
commit
4d63994354
|
@ -107,6 +107,17 @@ BACKLINKS, FORELINKS = (function(pages)
|
|||
return backlinks, forelinks
|
||||
end)(PAGES)
|
||||
|
||||
do
|
||||
print("[INFO] bavbavhaus.net: updating index page")
|
||||
local index = "README.md"
|
||||
FORELINKS[index] = pandoc.MetaList({})
|
||||
for i,page in ipairs(PAGES) do
|
||||
if PAGES[i]["meta"]["input_file"] == index then goto continue end
|
||||
FORELINKS[index]:insert(page["meta"]["input_file"])
|
||||
::continue::
|
||||
end
|
||||
end
|
||||
|
||||
do
|
||||
print("[INFO] bavbavhaus.net: updating link targets")
|
||||
local split_extension = pandoc.path.split_extension
|
||||
|
|
Loading…
Reference in New Issue