diff options
| -rw-r--r-- | default.template | 2 | ||||
| -rwxr-xr-x | 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 @@ | |||
| 25 | <body bgcolor="black" text="white" alink="yellow" link="yellowgreen" vlink="red"> | 25 | <body bgcolor="black" text="white" alink="yellow" link="yellowgreen" vlink="red"> |
| 26 | <table style="background-color: $karenPurple$; width: 98vw; margin: 1; line-style: none; border-style: none; border-spacing: 0;"> | 26 | <table style="background-color: $karenPurple$; width: 98vw; margin: 1; line-style: none; border-style: none; border-spacing: 0;"> |
| 27 | <tr> | 27 | <tr> |
| 28 | <td><img src="$logo$" alt="alt text" title="Not (Yet) (Another / A) Wiki."/></td> | 28 | <td><a href="$home$"><img src="$logo$" alt="alt text" title="Not (Yet) (Another / A) Wiki."/></a></td> |
| 29 | <td><p>👣 $trail$</p></td> | 29 | <td><p>👣 $trail$</p></td> |
| 30 | </tr> | 30 | </tr> |
| 31 | <tr> | 31 | <tr> |
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 4ecf427..3908543 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua | |||
| @@ -14,7 +14,7 @@ local globalData = { | |||
| 14 | ['devuanDeepSeaDark'] = '#132f40', ['devuanDeepSeaLight'] = '#1a4562', | 14 | ['devuanDeepSeaDark'] = '#132f40', ['devuanDeepSeaLight'] = '#1a4562', |
| 15 | ['devuanSaphireDark'] = '#004489', ['devuanSaphireLight'] = '#00509f', | 15 | ['devuanSaphireDark'] = '#004489', ['devuanSaphireLight'] = '#00509f', |
| 16 | ['karenPurple'] = '#8800ff', ['onefangPurple'] = '#cc00ff', | 16 | ['karenPurple'] = '#8800ff', ['onefangPurple'] = '#cc00ff', |
| 17 | favicon = 'nYAW_icon.png', logo = 'nYAW.png', header = '', --menu = '', | 17 | favicon = 'nYAW_icon.png', logo = 'nYAW.png', header = '', home = '', --menu = '', |
| 18 | history = '', footer = 'Powered by <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a> version 0.0. ', | 18 | history = '', footer = 'Powered by <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a> version 0.0. ', |
| 19 | } | 19 | } |
| 20 | local Sites, Files, Subs = {}, {}, {} | 20 | local Sites, Files, Subs = {}, {}, {} |
| @@ -257,6 +257,7 @@ for name, file in pairs(Files) do | |||
| 257 | end | 257 | end |
| 258 | 258 | ||
| 259 | -- Figure out this pages trail links. | 259 | -- Figure out this pages trail links. |
| 260 | metadata.home = linkFrom(path, '') .. whichPage('') | ||
| 260 | metadata.trail = '' | 261 | metadata.trail = '' |
| 261 | for i, b in ipairs(bits) do | 262 | for i, b in ipairs(bits) do |
| 262 | if i < #bits then | 263 | if i < #bits then |
