aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notYetAnotherWiki.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xnotYetAnotherWiki.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index c337af2..f1b1565 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -28,7 +28,6 @@ local GlobalMetaData = {
28 karenPurple = '#8800ff', onefangPurple = '#cc00ff', onefangGreen = '#42ff00', 28 karenPurple = '#8800ff', onefangPurple = '#cc00ff', onefangGreen = '#42ff00',
29 PinkFloyd = '#AA00AA', DeepPurple = '#220022', -- From an ancient site of mine, which went from PinkFloyd to DeepPurple as a background gradient. 29 PinkFloyd = '#AA00AA', DeepPurple = '#220022', -- From an ancient site of mine, which went from PinkFloyd to DeepPurple as a background gradient.
30 favicon = 'nYAW_icon.png', logo = 'nYAW.png', 30 favicon = 'nYAW_icon.png', logo = 'nYAW.png',
31 footer = '<span style="font-size: 0.6em;">Powered&nbsp;by&nbsp;<a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a>&nbsp;v&nbsp;0.0</span>',
32} 31}
33 32
34local Files, Subs, xLinks = {}, {}, {} 33local Files, Subs, xLinks = {}, {}, {}
@@ -745,11 +744,11 @@ for name, file in pairs(Files) do
745 end 744 end
746 745
747 -- Figure out this pages footer links. 746 -- Figure out this pages footer links.
748 metadata.footer = GlobalMetaData.footer 747 metadata.footer = ''
749 if nil ~= metadata.pagehistory then metadata.history = '<p>Page&nbsp;<a href="' .. metadata.pagehistory .. '/' .. name .. '.md">history</a></p>' else metadata.history = '' end 748 if nil ~= metadata.pagehistory then metadata.history = '<p>Page&nbsp;<a href="' .. metadata.pagehistory .. '/' .. name .. '.md">history</a></p>' else metadata.history = '' end
750 if nil ~= metadata.sourcecode then metadata.footer = '<a href="' .. metadata.sourcecode .. '">source code</a> &nbsp; &nbsp; ' .. metadata.footer end 749 if nil ~= metadata.sourcecode then metadata.footer = '<a href="' .. metadata.sourcecode .. '">source code</a>' end
751 if nil ~= metadata.feedatom then metadata.footer = '<a href="' .. metadata.feedatom .. '">atom feed</a> &nbsp; &nbsp; ' .. metadata.footer end 750 if nil ~= metadata.feedatom then metadata.footer = '<a href="' .. metadata.feedatom .. '">atom feed</a> &nbsp; &nbsp; ' .. metadata.footer end
752 if metadata.footer ~= GlobalMetaData.footer then metadata.footer = 'Web site ' .. metadata.footer end 751 if metadata.footer ~= '' then metadata.footer = 'Web site ' .. metadata.footer end
753 -- Add a link to the original page. 752 -- Add a link to the original page.
754 if nil ~= metadata.ogURL then 753 if nil ~= metadata.ogURL then
755 local title, link = whichWiki(metadata) 754 local title, link = whichWiki(metadata)