small pixel drawing of a pufferfish j3s.sh

update todo & hardcode puffer height
Jesse Olson j3s@c3f.net
Fri, 08 Apr 2022 06:31:32 +0000
commit

79082bc9cf73b420625c373b9190ecfec307d6f5

parent

280a2517e4c8bae5d16045a6e11c74bd661f7d85

3 files changed, 19 insertions(+), 6 deletions(-)

jump to
M READMEREADME

@@ -1,4 +1,13 @@

-[ ] make blog have rss feed for thoughts/reviews +todo~ + +[x] add project section +[x] make image not bounce text while loading (reserve height?) + - locked width & height of the header image :shrug: +[ ] draw & add pufferfish favicon +[ ] make blog have rss feed for select thoughts/reviews [ ] merge jrss into website tools codebase -[ ] add project section -[ ] native git thing+[ ] make blog handle TLS +[ ] make git necronomicon post not html lmao + +prob not~ +[ ] native git thing?
M main.gomain.go

@@ -197,7 +197,7 @@ // this header is always set by tlstunnel (MAYBE)

// so we can PROBABLY expect it to be here IDFK RLY // IT'S LATE AND IM TIRED ip := r.Header.Get("X-Forwarded-For") - if ip != nil { + if ip != "" { fmt.Fprintf(w, r.Header.Get("X-Forwarded-For")+"\n") } else { fmt.Fprintf(w, "not found\n")
M templates/layout.htmltemplates/layout.html

@@ -3,6 +3,11 @@ <!doctype html>

<html> <head> <style> + /* this makes sure the scrollbar is always shown, so the site doesnt change between pages */ + html { + overflow-y: scroll + } + #main, #header, aside,

@@ -13,7 +18,6 @@ padding: 0;

} #header { - max-width: 500px; font-family: monospace; text-align: center; }

@@ -34,7 +38,7 @@ </head>

<body class="grayscale"> <div id="header"> - <h1><a href="/"><img src="/static/unnamed-puffy.png" width="140" alt="pic of an unnamed puffer fish, drawn by rekka bellum of kokorobot.ca and hundred rabbits :3"></a>jes? somewhat horrible</h1> + <h1><a href="/"><img src="/static/unnamed-puffy.png" height="111" width="140" alt="pic of an unnamed pufferfish, drawn by rekka bellum of kokorobot.ca and hundred rabbits :3"></a>jes? somewhat horrible</h1> <p> <a href="/now.html">now</a> <a href="/about.html">about</a>