aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--README.md.md2
-rw-r--r--default.template35
-rwxr-xr-xnotYetAnotherWiki.lua4
3 files changed, 21 insertions, 20 deletions
diff --git a/README.md.md b/README.md.md
index bc85e8c..31ea1e7 100644
--- a/README.md.md
+++ b/README.md.md
@@ -1 +1 @@
title=notYetAnotherWiki title=nYAW
diff --git a/default.template b/default.template
index b49b4d6..e5b6f6b 100644
--- a/default.template
+++ b/default.template
@@ -24,17 +24,18 @@
24 } 24 }
25 table, td, th {border-collapse: collapse; border: 2px solid grey;} 25 table, td, th {border-collapse: collapse; border: 2px solid grey;}
26 26
27 .toolTip {background: darkcyan;} 27 .toolTip {background: darkcyan; font-size: 1.42em;}
28 28
29 .boxWrapper { 29 .boxWrapper {
30 height: 100%; width: 100%; 30 height: 100%; width: 100%;
31 margin: 0; padding: 0; border: none; 31 margin: 0; padding: 0; border: none;
32 display: grid; 32 display: grid;
33// grid-template-areas: 33// grid-template-areas:
34// "logo trail" 34// "logo tools"
35// "logo head" 35// "logo head"
36// "menu body" 36// "menu body"
37// "history foot"; 37// "history foot"
38// "nyaw .";
38 grid-template-columns: auto 1fr auto auto; 39 grid-template-columns: auto 1fr auto auto;
39 grid-template-rows: auto auto 1fr auto auto; 40 grid-template-rows: auto auto 1fr auto auto;
40// grid-auto-columns: minmax(auto, auto); 41// grid-auto-columns: minmax(auto, auto);
@@ -42,7 +43,7 @@
42 overflow-x: auto; overflow-y: auto; 43 overflow-x: auto; overflow-y: auto;
43 } 44 }
44 .boxLogo {grid-area: logo; grid-column: 1 / 1; grid-row: 1 / 2; height: min-content;} 45 .boxLogo {grid-area: logo; grid-column: 1 / 1; grid-row: 1 / 2; height: min-content;}
45 .boxTrail {grid-area: trail; grid-column: 2 / 4; grid-row: 1 / 1; height: min-content;} 46 .boxTools {grid-area: tools; grid-column: 2 / 4; grid-row: 1 / 1; height: min-content;}
46 .boxHead {grid-area: head; grid-column: 2 / 4; grid-row: 2 / 2; height: min-content; text-align: right;} 47 .boxHead {grid-area: head; grid-column: 2 / 4; grid-row: 2 / 2; height: min-content; text-align: right;}
47 48
48 .boxMenu {grid-area: menu; grid-column: 1 / 1; grid-row: 3 / 3; height: min-content; width: min-content; vertical-align: top; padding: 4px;} 49 .boxMenu {grid-area: menu; grid-column: 1 / 1; grid-row: 3 / 3; height: min-content; width: min-content; vertical-align: top; padding: 4px;}
@@ -57,7 +58,7 @@
57 58
58 .boxHistory {grid-area: history; grid-column: 1 / 1; grid-row: 4 / 4; height: min-content;} 59 .boxHistory {grid-area: history; grid-column: 1 / 1; grid-row: 4 / 4; height: min-content;}
59 .boxFoot {grid-area: foot; grid-column: 2 / 4; grid-row: 4 / 4; height: min-content; text-align: right;} 60 .boxFoot {grid-area: foot; grid-column: 2 / 4; grid-row: 4 / 4; height: min-content; text-align: right;}
60 .boxnyaw {grid-area: foot; grid-column: 1 / 4; grid-row: 5 / 5; height: min-content; text-align: right; font-size: 0.55em;} 61 .boxnyaw {grid-area: nyaw; grid-column: 1 / 4; grid-row: 5 / 5; height: min-content; text-align: right; font-size: 0.55em;}
61 62
62 #modeToggleBody {display: none;} 63 #modeToggleBody {display: none;}
63 #modeToggleMenu {display: none;} 64 #modeToggleMenu {display: none;}
@@ -68,7 +69,7 @@
68 69
69 #modeToggleMenu:checked ~ .boxLogo {display: none;} 70 #modeToggleMenu:checked ~ .boxLogo {display: none;}
70 #modeToggleMenu:checked ~ .boxHead {display: none;} 71 #modeToggleMenu:checked ~ .boxHead {display: none;}
71// #modeToggleMenu:checked ~ .boxTrail {display: none;} 72// #modeToggleMenu:checked ~ .boxTools {display: none;}
72 73
73 #modeToggleMenu:checked ~ .boxMenu {display: none;} 74 #modeToggleMenu:checked ~ .boxMenu {display: none;}
74 #modeToggleBody:checked ~ .boxBody {background: white; color: black;} 75 #modeToggleBody:checked ~ .boxBody {background: white; color: black;}
@@ -87,19 +88,19 @@
87 <input type="checkbox" id="modeToggleMenu"/> 88 <input type="checkbox" id="modeToggleMenu"/>
88 <input type="checkbox" id="modeToggleBody"/> 89 <input type="checkbox" id="modeToggleBody"/>
89 <div class="boxLogo"><header><nav> 90 <div class="boxLogo"><header><nav>
90 <a href="$home$"><img src="$logo$" alt="Not (Yet) (Another / A) Wiki." title="Not (Yet) (Another / A) Wiki."/></a> 91 <a href="$home$"><img src="$logo$" alt="not (Yet) (Another / A) Wiki."/></a>
91 </nav></header></div> 92 </nav></header></div>
92 <div class="boxTrail"><header><nav> 93 <div class="boxTools"><header><nav>
93 <b class="toolTip" title="🍔 hides or shows non content. 94 &nbsp; <b class="toolTip" title="🍔 hides / shows non content, reverse hamburger menu.
94🕶 switches between dark and light themes. 95🕶 switches between dark and light themes.
95🪵 will be for logging in, when I have written that bit. 96🪵 will be for logging in, when I have written that bit.
96🔍 will be the search, when I have written that bit. 97🔍 will be the search, when I have written that bit.
97👣 is a trail of the steps to get here.">❓</b> 98👣 is a trail of the steps to get here.">❓</b>
98 <b class="toolTip"><label for="modeToggleMenu" class='modeBtn'>&#127828;</label></b> 99 &nbsp; <b class="toolTip"><label for="modeToggleMenu" class='modeBtn'>&#127828;</label></b>
99 <b class="toolTip"><label for="modeToggleBody" class='modeBtn'>&#x1F576;</label></b> 100 &nbsp; <b class="toolTip"><label for="modeToggleBody" class='modeBtn'>&#x1F576;</label></b>
100 <b class="toolTip">&#129717;</b> 101 &nbsp; <b class="toolTip">&#129717;</b>
101 <b class="toolTip">&#128269;</b> 102 &nbsp; <b class="toolTip">&#128269;</b>
102 <b> &nbsp; &#x1f463; &nbsp; $trail$ </b> 103 <b> &nbsp; &#x1f463; $trail$ </b>
103 </nav></header></div> 104 </nav></header></div>
104 <div class="boxHead"><header><nav><b>$header$</b> &nbsp; </nav></header></div> 105 <div class="boxHead"><header><nav><b>$header$</b> &nbsp; </nav></header></div>
105 106
@@ -109,7 +110,7 @@
109 <div class="boxHistory"><footer>$history$</footer></div> 110 <div class="boxHistory"><footer>$history$</footer></div>
110 <div class="boxFoot"><footer>$footer$</footer></div> 111 <div class="boxFoot"><footer>$footer$</footer></div>
111 <div class="boxnyaw"><footer> 112 <div class="boxnyaw"><footer>
112 <p>Powered&nbsp;by&nbsp;<a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a>&nbsp;v&nbsp;0.0 &nbsp; No cookies or scripts where harmed in the making of this web site. &nbsp; May contain low fat CSS.</p> 113 <p>Powered&nbsp;by&nbsp;<a href="https://sledjhamr.org/notYetAnotherWiki/">notYetAnotherWiki</a>&nbsp;v&nbsp;0.0 &nbsp; No cookies or scripts where harmed in the making of this web site. &nbsp; May contain low fat CSS.</p>
113 </footer></div> 114 </footer></div>
114 </div> 115 </div>
115 </body> 116 </body>
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index 8be3850..33a9e32 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -700,10 +700,10 @@ for name, file in pairs(Files) do
700 for i, b in ipairs(bits) do 700 for i, b in ipairs(bits) do
701 local p = table.concat(bits, '/', 1, i) 701 local p = table.concat(bits, '/', 1, i)
702 if i < #bits then 702 if i < #bits then
703 metadata.trail = metadata.trail .. '<a href="' .. linkFrom(file.path, p) .. Subs[p].whichPage .. '">' .. b .. '</a> &#x1f463; &nbsp; ' 703 metadata.trail = metadata.trail .. '<a href="' .. linkFrom(file.path, p) .. Subs[p].whichPage .. '">' .. b .. '</a> &nbsp; &#x1f463; '
704 linkFrom(file.path, table.concat(bits, '/', 1, i)) 704 linkFrom(file.path, table.concat(bits, '/', 1, i))
705 else 705 else
706 metadata.trail = metadata.trail .. b .. ' &nbsp; ' 706 metadata.trail = metadata.trail .. ' ' .. b
707 end 707 end
708 end 708 end
709 709