From bc79bf792772b32bc94061a0f24a392f028b3d0e Mon Sep 17 00:00:00 2001 From: dvs1 Date: Thu, 9 Jan 2025 15:58:57 +1000 Subject: Add some default page names from the other wikis. --- notYetAnotherWiki.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 9cff0f3..b439df6 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua @@ -109,7 +109,7 @@ local whichPage = function(f) if (nil ~= Subs[f]) and (nil ~= Subs[f].files) then if 1 == #(Subs[f].files) then fl = Subs[f].files[1] .. '.HTML' else -- Standard files to search for. - for i, v in ipairs{'about', 'readme', 'index'} do + for i, v in ipairs{'about', 'readme', 'index', 'homepage', 'mainpage', 'webhome'} do for j, w in ipairs(Subs[f].files) do if v == string.lower(w) then print('FOUND ' .. v .. '.HTML') -- cgit v1.1