update todo & hardcode puffer height
Jesse Olson j3s@c3f.net
Fri, 08 Apr 2022 06:31:32 +0000
3 files changed,
19 insertions(+),
6 deletions(-)
M
README
→
README
@@ -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.go
→
main.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.html
→
templates/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>