commit b5192fe

myu be you  ·  2026-12-02 16:43:26 +0000 UTC
parent 831493f
migrate to latest mig
2 files changed,  +17, -0
+16, -0
 1@@ -0,0 +1,16 @@
 2+local l = { "i love x11",
 3+            "who the hell loves wayland",
 4+            "i love x.org",
 5+            "i love x11.fyi",
 6+            "i hate wayland" }
 7+if not math.q or #math.q == 0 then
 8+  math.randomseed(os.time())
 9+  math.q = {}
10+  for i, v in ipairs(l) do math.q[i] = v end
11+  for i = #math.q, 2, -1 do
12+    local j = math.random(i)
13+    math.q[i], math.q[j] = math.q[j], math.q[i]
14+  end
15+end
16+
17+return table.remove(math.q)
+1, -0
1@@ -15,6 +15,7 @@
2       {{end}}
3       {{if not HIDDEN}}
4       {{include "inc/note.md"}}
5+      <p>page's quote of the build: {{include "inc/quotes.lua"}}</p>
6       {{end}}
7     </main>
8     <footer>{{FOOTER}}</footer>