diff options
author | dvs1 | 2025-01-17 16:40:51 +1000 |
---|---|---|
committer | dvs1 | 2025-01-17 16:40:51 +1000 |
commit | 669594bd7fe4bc9a630e90e1880d3511c13b208e (patch) | |
tree | e9aff21a28761e4d2ae7fdeaed019d63b1f1db78 /notYetAnotherWiki.lua | |
parent | Sorting still fails sometimes. Lets see if hat happens elsewhere. (diff) | |
download | notYetAnotherWiki-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-x | notYetAnotherWiki.lua | 2 |
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> ' end | 270 | -- if '' == metadata.trail then metadata.trail = '<a href="' .. string.rep('../', ln) .. '/' .. whichPage('') .. '">home</a> ' 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 <a href="' .. metadata.pagehistory .. '">history</a></p>' end | 273 | if nil ~= metadata.pagehistory then metadata.history = '<p>Page <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> ' .. metadata.footer end | 274 | if nil ~= metadata.sourcecode then metadata.footer = '<a href="' .. metadata.sourcecode .. '">source code</a> ' .. metadata.footer end |
275 | if nil ~= metadata.feedatom then metadata.footer = '<a href="' .. metadata.feedatom .. '">atom feed</a> ' .. metadata.footer end | 275 | if nil ~= metadata.feedatom then metadata.footer = '<a href="' .. metadata.feedatom .. '">atom feed</a> ' .. 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 |