aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notYetAnotherWiki.lua
diff options
context:
space:
mode:
authordvs12025-01-17 16:40:51 +1000
committerdvs12025-01-17 16:40:51 +1000
commit669594bd7fe4bc9a630e90e1880d3511c13b208e (patch)
treee9aff21a28761e4d2ae7fdeaed019d63b1f1db78 /notYetAnotherWiki.lua
parentSorting still fails sometimes. Lets see if hat happens elsewhere. (diff)
downloadnotYetAnotherWiki-669594bd7fe4bc9a630e90e1880d3511c13b208e.zip
notYetAnotherWiki-669594bd7fe4bc9a630e90e1880d3511c13b208e.tar.gz
notYetAnotherWiki-669594bd7fe4bc9a630e90e1880d3511c13b208e.tar.bz2
notYetAnotherWiki-669594bd7fe4bc9a630e90e1880d3511c13b208e.tar.xz
Page history is now per site, the page name is added automatically.
Diffstat (limited to 'notYetAnotherWiki.lua')
-rwxr-xr-xnotYetAnotherWiki.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index f78e986..576ffa3 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -270,7 +270,7 @@ for name, file in pairs(Files) do
270-- if '' == metadata.trail then metadata.trail = '<a href="' .. string.rep('../', ln) .. '/' .. whichPage('') .. '">home</a> &nbsp; ' end 270-- if '' == metadata.trail then metadata.trail = '<a href="' .. string.rep('../', ln) .. '/' .. whichPage('') .. '">home</a> &nbsp; ' end
271 271
272 -- Figure out this pages footer links. 272 -- Figure out this pages footer links.
273 if nil ~= metadata.pagehistory then metadata.history = '<p>Page&nbsp;<a href="' .. metadata.pagehistory .. '">history</a></p>' end 273 if nil ~= metadata.pagehistory then metadata.history = '<p>Page&nbsp;<a href="' .. metadata.pagehistory .. '/' .. name .. '.md">history</a></p>' end
274 if nil ~= metadata.sourcecode then metadata.footer = '<a href="' .. metadata.sourcecode .. '">source code</a> &nbsp; &nbsp; ' .. metadata.footer end 274 if nil ~= metadata.sourcecode then metadata.footer = '<a href="' .. metadata.sourcecode .. '">source code</a> &nbsp; &nbsp; ' .. metadata.footer end
275 if nil ~= metadata.feedatom then metadata.footer = '<a href="' .. metadata.feedatom .. '">atom feed</a> &nbsp; &nbsp; ' .. metadata.footer end 275 if nil ~= metadata.feedatom then metadata.footer = '<a href="' .. metadata.feedatom .. '">atom feed</a> &nbsp; &nbsp; ' .. metadata.footer end
276 if metadata.footer ~= globalData.footer then metadata.footer = 'Web site ' .. metadata.footer end 276 if metadata.footer ~= globalData.footer then metadata.footer = 'Web site ' .. metadata.footer end