mirror of github:amycatgirl/amycatgirl.github.io
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: title

Amy e0a42053 23792f84

+13 -17
+10 -12
index.html
··· 36 36 37 37 <p>i also have a blog on <a href="https://amybunny.leaflet.pub">leaflet</a>, here are it's latest entries:</p> 38 38 <div id="atproto-leaflet"> 39 - <noscript> 40 - <div class="entry"> 41 - <a class="base-anchor" href="https://amybunny.leaflet.pub/3mbqvkp6l6c27"></h3 class="title">my 2026 42 - bucket 43 - list</h3></a> 44 - <p class="description">things that i want to do this year</p> 45 - <div class="metadata"> 46 - <time datetime="2026-01-06T11:57:30.149Z" class="published-at">06/01/2026, 07:57</time> 47 - </div> 48 - </div> 49 - </noscript> 39 + <noscript> 40 + <div class="entry"> 41 + <a class="base-anchor" href="https://amybunny.leaflet.pub/3mbqvkp6l6c27"><h3 class="title">my 2026 bucket list</h3></a> 42 + <p class="description">things that i want to do this year</p> 43 + <div class="metadata"> 44 + <time datetime="2026-01-06T11:57:30.149Z" class="published-at">06/01/2026, 07:57</time> 45 + </div> 46 + </div> 47 + </noscript> 50 48 </div> 51 49 </main> 52 50 <div class="margin-wrapper"> ··· 258 256 </script> 259 257 </body> 260 258 261 - </html> 259 + </html>
+3 -5
leaflet-fallback.el
··· 4 4 (defconst atproto-pds "https://porcini.us-east.host.bsky.network") 5 5 (defconst max-entries 5) 6 6 7 - (defun search-leaflet-fallback-block () 8 - ) 9 - 10 7 (defun at-datetime->timestamp (dt) 11 8 (date-to-time dt)) 12 9 ··· 14 11 (format-time-string "%d/%m/%Y, %H:%M" ts)) 15 12 16 13 (defun build-leaflet-html-entry (title description date date-humanreadable url) 17 - (format "<div class=\"entry\">\n<a class=\"base-anchor\" href=\"https://amybunny.leaflet.pub/%s\"></h3 class=\"title\">%s</h3></a>\n<p class=\"description\">%s</p>\n<div class=\"metadata\">\n<time datetime=%S class=\"published-at\">%s</time>\n</div>\n</div>" url title description date date-humanreadable)) 14 + (format "<div class=\"entry\">\n<a class=\"base-anchor\" href=\"https://amybunny.leaflet.pub/%s\"><h3 class=\"title\">%s</h3></a>\n<p class=\"description\">%s</p>\n<div class=\"metadata\">\n<time datetime=%S class=\"published-at\">%s</time>\n</div>\n</div>" url title description date date-humanreadable)) 18 15 19 16 (defun fetch-latest-entries () 20 17 (let ((url-request-method "GET") ··· 46 43 (insert "\n") 47 44 (dolist (element (build-elements-from-entries (fetch-latest-entries))) 48 45 (insert (concat element "\n"))) 49 - (indent-region block-start (search-forward "</noscript>" nil t))))) 46 + (indent-region block-start (search-forward "</noscript>" nil t)))) 47 + (save-buffer)) 50 48