webrings: init and add speziring
crispy-caesus crispy@crispy-caesus.eu
Mon, 12 Oct 2026 13:03:46 +0200
5 files changed,
33 insertions(+),
0 deletions(-)
M
cmd/server/gensite.go
→
cmd/server/gensite.go
@@ -19,6 +19,8 @@ err = copyFile("templates/licenses.html", "html/licenses.html")
check(err) err = copyFile("templates/privacy.html", "html/privacy.html") check(err) + err = copyFile("templates/webrings.html", "html/webrings.html") + check(err) } func genSiteDirs() {
M
templates/index.html
→
templates/index.html
@@ -69,6 +69,12 @@ title="crispy buttons"
href="/buttons" >Buttons</a> </li> + <li> + <a + title="crispy webrings" + href=/webrings + >Webrings</a> + </li> </ul> <h3 id="contact">contact</h3> <ul>
A
templates/webrings.html
@@ -0,0 +1,25 @@
+<!doctype html> +<html lang="en"> + <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>crispy webrings</title> + <link rel="stylesheet" href="../static/css/global.css" /> + <link rel="icon" type="image/png" href="../static/images/banan_icon.png" /> + </head> + <body> + <div style="display:flex; justify-content:center; align-items:center;"> + <a href="https://mishka.nekoweb.org/webrings/speziring?action=previous" title="previous"> + <img src="/static/images/spezileft.png" alt="previous" /> + </a> + <div style="display:flex; flex-direction:column; align-items:center;"> + <a href="https://mishka.nekoweb.org/webrings/speziring"> + <img src="https://mishka.nekoweb.org/webrings/speziring/images/spezi-bottle-pixel.png" alt="Spezi Ring" height="100"> + </a> + <a href="https://mishka.nekoweb.org/webrings/speziring?action=random" title="random">random</a> + </div> + <a href="https://mishka.nekoweb.org/webrings/speziring?action=next" title="next"> + <img src="/static/images/speziright.png" alt="next" /> + </a> + </div> + </body>