My personal website, in gleam+lustre!
0
fork

Configure Feed

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

smol

+16 -4
assets/strawmelonjuice-smallest.png

This is a binary file and will not be displayed.

+13 -2
dev/homepage/prepare.gleam
··· 1 1 //// Most of this file was borrowed from the project that was replaced by this: 2 2 //// https://forge.strawmelonjuice.com/CynthiaWebsiteEngine/ByYou/src/branch/main/by-you/src/byyou/cli.gleam 3 3 4 + import gleam/function 5 + 4 6 const address = "https://strawmelonjuice.com" 7 + 8 + const minimal_hydration = True 5 9 6 10 import argv 7 11 import gleam/bool ··· 153 157 _, 154 158 each: "<title>Mar&#39;s site</title>", 155 159 with: "<title>" <> title <> "</title>", 156 - )), 160 + )) 161 + |> result.map(case minimal_hydration { 162 + True -> string.replace( 163 + _, 164 + "<script src=\"/homepage.js\" type=\"module\">", 165 + "", 166 + ) 167 + _ -> function.identity 168 + }), 157 169 "Failed to generate html for " <> html_file_path, 158 170 ) 159 171 use _ <- try_annot( ··· 240 252 |> atom.with_feed_rights(atom.plain_text( 241 253 "The rights to this content is reserved by M Bloeiman, but can be freely shared with attribution in the form of a link to the original website. AI's and LLM's are not allowed to use any of this feed's content.", 242 254 )) 243 - // Atom uses a Person type for authors/webmasters 244 255 |> atom.with_feed_author( 245 256 atom.person("M Bloeiman") 246 257 |> atom.with_person_email("rss-webmaster@strawmelonjuice.com"),
+2 -1
gleam.toml
··· 33 33 links = [ 34 34 { rel = "preconnect", href = "https://fontlay.com", crossorigin = "" }, 35 35 { rel = "shortcut icon", href = "/strawmelonjuice.png", type = "image/x-icon" }, 36 - { rel = "alternate", href = "/feed.xml", type = "application/rss+xml", title = "Site-wide RSS Feed" }, 36 + { rel = "alternate", href = "/rss.xml", type = "application/rss+xml", title = "Site-wide RSS Feed" }, 37 + { rel = "alternate", href = "/atom.xml", type = "application/atom+xml", title = "Site-wide ATOM Feed" }, 37 38 { rel = "me", href = "https://pony.social/@strawmelonjuice" }, 38 39 ] 39 40 stylesheets = [
+1 -1
written-contents/blog/creative/drawings/other drawings/2026-revamp.dj
··· 11 11 improved strawmelonjuice logo, est. 2026! 12 12 13 13 ![strawmelonjuice 2026 14 - revamp](/strawmelonjuice.png) 14 + revamp](/strawmelonjuice-big.png) 15 15 16 16 Hope you like it as much as I do! 17 17