aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xnotYetAnotherWiki.lua2
1 files changed, 1 insertions, 1 deletions
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)
109 if (nil ~= Subs[f]) and (nil ~= Subs[f].files) then 109 if (nil ~= Subs[f]) and (nil ~= Subs[f].files) then
110 if 1 == #(Subs[f].files) then fl = Subs[f].files[1] .. '.HTML' else 110 if 1 == #(Subs[f].files) then fl = Subs[f].files[1] .. '.HTML' else
111 -- Standard files to search for. 111 -- Standard files to search for.
112 for i, v in ipairs{'about', 'readme', 'index'} do 112 for i, v in ipairs{'about', 'readme', 'index', 'homepage', 'mainpage', 'webhome'} do
113 for j, w in ipairs(Subs[f].files) do 113 for j, w in ipairs(Subs[f].files) do
114 if v == string.lower(w) then 114 if v == string.lower(w) then
115 print('FOUND ' .. v .. '.HTML') 115 print('FOUND ' .. v .. '.HTML')