diff options
author | dvs1 | 2025-03-15 18:37:39 +1000 |
---|---|---|
committer | dvs1 | 2025-03-15 18:37:39 +1000 |
commit | a8cbb18bc14657af13e4d06f18d4bd19cb52dc29 (patch) | |
tree | d206dce7d49bf886ec2c00c6ede5e8b25ad06d7a | |
parent | Implement page history for Fos and Pm, and clean up the edit line. (diff) | |
download | notYetAnotherWiki-a8cbb18bc14657af13e4d06f18d4bd19cb52dc29.zip notYetAnotherWiki-a8cbb18bc14657af13e4d06f18d4bd19cb52dc29.tar.gz notYetAnotherWiki-a8cbb18bc14657af13e4d06f18d4bd19cb52dc29.tar.bz2 notYetAnotherWiki-a8cbb18bc14657af13e4d06f18d4bd19cb52dc29.tar.xz |
Combine the first two columns of the everything page.
-rwxr-xr-x | notYetAnotherWiki.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 4cf091e..e84e9b0 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua | |||
@@ -531,7 +531,7 @@ end | |||
531 | -- More of this actually doing things nonsense. | 531 | -- More of this actually doing things nonsense. |
532 | 532 | ||
533 | -- Create an "everything" page, for URL links to every file.HTML. | 533 | -- Create an "everything" page, for URL links to every file.HTML. |
534 | local Bdy = '# All the pages\n\n| page | converted | original page | last edited UTC | \n| ---- | --------- | ------- | --------------- | ' | 534 | local Bdy = '# All the pages\n\n| page | original page | last edited UTC | \n| --------- | ------- | --------------- | ' |
535 | Pages = {} | 535 | Pages = {} |
536 | for name, file in pairs(Files) do | 536 | for name, file in pairs(Files) do |
537 | local metadata = derefTable(Files[name].metadata, true) | 537 | local metadata = derefTable(Files[name].metadata, true) |
@@ -544,7 +544,7 @@ for name, file in pairs(Files) do | |||
544 | if nil ~= metadata.timestamp then ts = metadata.timestamp end | 544 | if nil ~= metadata.timestamp then ts = metadata.timestamp end |
545 | if nil ~= file.bit then ln = file.bit | 545 | if nil ~= file.bit then ln = file.bit |
546 | end | 546 | end |
547 | table.insert(Pages, '\n| ' .. name .. ' | [' .. ln .. '](<' .. name .. '.HTML>) | ' .. fw .. ' ' .. pw .. ' | ' .. ts .. ' |') | 547 | table.insert(Pages, '\n| [' .. name .. '](<' .. name .. '.HTML>) | ' .. fw .. ' ' .. pw .. ' | ' .. ts .. ' |') |
548 | 548 | ||
549 | -- Track our external links. | 549 | -- Track our external links. |
550 | if (nil ~= metadata.ogBase) and (nil ~= metadata.ogFile) then | 550 | if (nil ~= metadata.ogBase) and (nil ~= metadata.ogFile) then |