small pixel drawing of a pufferfish j3s.sh

many updates
Jesse Olson j3s@c3f.net
Fri, 11 Feb 2022 05:21:11 +0000
commit

ff2b4b24fc02d38cac64b5fc7afaede0381ecb1b

parent

b5c73f1c80eace3df58108a66929e0b3cf14f232

4 files changed, 57 insertions(+), 29 deletions(-)

jump to
M feed/feed.gofeed/feed.go

@@ -52,17 +52,17 @@ func FetchFriendFeeds() []rss.Feed {

feeds := GetFeeds() var friendFeeds []rss.Feed - for i, feed := range feeds.FriendFeeds { + for _, feed := range feeds.FriendFeeds { f, err := rss.Fetch(feed) if err != nil { log.Printf(err.Error()) continue } + log.Printf("%s\n", f.Title) fe := *f friendFeeds = append(friendFeeds, fe) // todo: make a sort func for []rss.Feed - log.Printf(string(i)) } return friendFeeds }
M templates/about.htmltemplates/about.html

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

-{{define "title"}}small ideas{{end}} +{{define "title"}}me{{end}} {{define "body"}} <p><i>patient anxious mentor</p></i> <p><i>loves simple little binaries</p></i>
M templates/layout.htmltemplates/layout.html

@@ -1,33 +1,59 @@

-{{define "layout"}} +{{ define "layout" }} <!doctype html> <html> <head> - <style> - #main, #header, aside, img { max-width: 444px; margin: 0 auto; padding: 0; } - nav ul { list-style: none; padding: 0; margin: 0 45px 30px 0; float: left; } - .grayscale { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); filter: grayscale(100%); } - </style> - - <meta charset="utf-8"> + <style> + #main, + #header, + aside, + img { + max-width: 500px; + margin: 0 auto; + padding: 0; + } + + #header { + max-width: 500px; + font-family: monospace; + text-align: center; + } + + .grayscale { + -webkit-filter: grayscale(100%); + -moz-filter: grayscale(100%); + -ms-filter: grayscale(100%); + filter: grayscale(100%); + } + </style> + + <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>{{template "title"}}</title> - <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22><text y=%2226%22 font-size=%2226%22>🐈‍⬛</text></svg>"> + <title>{{template "title"}}</title> + <link rel="icon" + href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22><text y=%2226%22 font-size=%2226%22>🐈‍⬛</text></svg>"> </head> -<div id="main"><body class="grayscale"> - <h1><a href="/"><img src="/static/scrombles.png" alt="scrombles the cat"></a> jes shit hell</h1> + +<body class="grayscale"> + <div id="header"> + <a href="/"><img src="/static/scrombles.png" alt="scrombles the cat"></a> + <h1>jes shit hell</h1> + <p> + <a href="/now.html">now</a> + <a href="/about.html">about</a> + <a href="/reviews.html">reviews</a> + <a href="/ideas.html">ideas</a> + </p> + <p> + <a href="https://git.j3s.sh">git -></a> + <a href="https://snap.as/j3s">pics -></a> + <a href="https://existentialcrisis.sh">existentialcrisis.sh -></a> + </p> + <hr> + </div> + <div id="main"> + {{ template "body" . }} + </div> +</body> - <p> - <a href="/now.html">now</a> - <a href="/about.html">about</a> - <a href="/reviews.html">reviews</a> - <a href="/ideas.html">ideas</a> - <a href="/git.html">git</a> - | - <a href="https://write.as/j3s">bl0g -></a> - <a href="https://snap.as/j3s">pics -></a> - </p> - <hr> - {{template "body" .}} -</div></body> </html> -{{end}} +{{ end }}
M templates/now.htmltemplates/now.html

@@ -1,5 +1,7 @@

{{define "title"}}what is jes doing now{{end}} {{define "body"}} +<p><b>2022-02-10</b></p> +<li>going to go to florida for awhile</li> <p><b>2022-02-04</b></p> <li>💀💀💀💀💀</li> <p><b>2022-01-28</b></p>