From 6f49b98999767ba45a0ff24c498a6708ae0c7183 Mon Sep 17 00:00:00 2001
From: dvs1
Date: Wed, 15 Jan 2025 17:40:45 +1000
Subject: Make the logo clickable.
---
default.template | 2 +-
notYetAnotherWiki.lua | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/default.template b/default.template
index b72033d..fd7889a 100644
--- a/default.template
+++ b/default.template
@@ -25,7 +25,7 @@
-  |
+  |
👣 $trail$ |
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index 4ecf427..3908543 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -14,7 +14,7 @@ local globalData = {
['devuanDeepSeaDark'] = '#132f40', ['devuanDeepSeaLight'] = '#1a4562',
['devuanSaphireDark'] = '#004489', ['devuanSaphireLight'] = '#00509f',
['karenPurple'] = '#8800ff', ['onefangPurple'] = '#cc00ff',
- favicon = 'nYAW_icon.png', logo = 'nYAW.png', header = '', --menu = '',
+ favicon = 'nYAW_icon.png', logo = 'nYAW.png', header = '', home = '', --menu = '',
history = '', footer = 'Powered by notYetAnotherWiki version 0.0. ',
}
local Sites, Files, Subs = {}, {}, {}
@@ -257,6 +257,7 @@ for name, file in pairs(Files) do
end
-- Figure out this pages trail links.
+ metadata.home = linkFrom(path, '') .. whichPage('')
metadata.trail = ''
for i, b in ipairs(bits) do
if i < #bits then
--
cgit v1.1