diff options
| author | dvs1 | 2025-01-09 15:58:57 +1000 |
|---|---|---|
| committer | dvs1 | 2025-01-09 15:58:57 +1000 |
| commit | bc79bf792772b32bc94061a0f24a392f028b3d0e (patch) | |
| tree | 9d81786696bd5e5825148295707ca2e7bdcfd46c | |
| parent | TYPO-- (diff) | |
| download | notYetAnotherWiki-bc79bf792772b32bc94061a0f24a392f028b3d0e.zip notYetAnotherWiki-bc79bf792772b32bc94061a0f24a392f028b3d0e.tar.gz notYetAnotherWiki-bc79bf792772b32bc94061a0f24a392f028b3d0e.tar.bz2 notYetAnotherWiki-bc79bf792772b32bc94061a0f24a392f028b3d0e.tar.xz | |
Add some default page names from the other wikis.
| -rwxr-xr-x | notYetAnotherWiki.lua | 2 |
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') |
