From ba4baa56128cb603c20ce12c1a1c3faa34992176 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Fri, 17 Jan 2025 15:40:58 +1000 Subject: Clean up left overs. --- notYetAnotherWiki.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index bf9791f..1f87549 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua @@ -207,15 +207,12 @@ for name, file in pairs(Files) do local pith = '' if nil ~= metadata[y] then local pth, found = '', false - if (nil ~= Subs[''].metadata) and (nil ~= Subs[''].metadata[y]) then pith = '' ; found = true end - for m, x in ipairs(bits) do if '' ~= pth then pth = pth .. '/' end pth = pth .. x if (nil ~= Subs[pth].metadata) and (nil ~= Subs[pth].metadata[y]) then pith = pth ; found = true end end --- if ('' == pith) and (nil ~= Subs[''].metadata) and (nil ~= Subs[''].metadata[y]) then pith = pth end if found then metadata[y] = linkFrom(path, pith) .. metadata[y] else metadata[y] = linkFrom(path, pith) .. globalData[y] end -- cgit v1.1