diff --git a/README.md b/README.md index 0ca8f30..b68ecbc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# gradient ascent - yet another developer blog +# conditional finality - yet another developer blog This repository hosts the source code for my blog, written in Haskell and powered by [hakyll](https://jaspervdj.be/hakyll/) and diff --git a/flake.nix b/flake.nix index 4413dd2..1876ce4 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "gradient ascent"; + description = "conditional finality"; nixConfig = { allow-import-from-derivation = "true"; diff --git a/src/images/conditional-finality.png b/src/images/conditional-finality.png new file mode 100644 index 0000000..6673b58 Binary files /dev/null and b/src/images/conditional-finality.png differ diff --git a/src/images/gradient-ascent.jpg b/src/images/gradient-ascent.jpg deleted file mode 100644 index b52db7f..0000000 Binary files a/src/images/gradient-ascent.jpg and /dev/null differ diff --git a/src/posts/2024-05-25-haskell-blog.md b/src/posts/2024-05-25-haskell-blog.md index 727a76b..1a7dc2f 100644 --- a/src/posts/2024-05-25-haskell-blog.md +++ b/src/posts/2024-05-25-haskell-blog.md @@ -2,25 +2,21 @@ author: "Youwen Wu" authorTwitter: "@youwen" desc: "a purely functional...blog?" -image: "./images/gradient-ascent.jpg" +image: "./images/conditional-finality.png" keywords: "haskell, blog, functional programming" lang: "en" -title: "why I made my blog in haskell" +title: "a haskellian blog" updated: "2024-05-25T12:00:00Z" --- -Welcome! This is the first post on _gradient ascent_ and also one that tests all +Welcome! This is the first post on _conditional finality_ and also one that tests all of the features. -I'll be writing about computers, code, math, video games, and whatever else -here. - > A monad is just a monoid in the category of endofunctors, what's the problem? ## haskell? @@ -59,11 +55,6 @@ The code highlighting is also generated by hakyll. Haskell is a purely functional language with no mutable state. Its syntax actually makes it pretty elegant for declaring routes and "rendering" pipelines. -I originally wanted to build this entire blog myself. I had a working version -with the Svelte framework, complete with GFM rendering, table of contents, KaTeX -math, code highlighting, static generation, and other goodies. However, it -seemed like a little too much work to maintain. I switched to hakyll because - 1. Haskell is cool. 2. It comes with enough features that I don't feel like I have to build everything from scratch. @@ -77,7 +68,7 @@ seemed like a little too much work to maintain. I switched to hakyll because ### speaking of math We can have math inline, like so: -$\int_\infty^\infty \, e^{-x^2}\,dx = \sqrt{\pi}$. This site ships semantic +$\int_\infty^{-\infty} \, e^{-x^2}\,dx = \sqrt{\pi}$. This site ships semantic MathML math with its HTML, and the MathJax script to the client. It'd be nice if MathML could just be used and supported across all browsers, but diff --git a/src/templates/default.html b/src/templates/default.html index 7df6d20..45f53ad 100644 --- a/src/templates/default.html +++ b/src/templates/default.html @@ -1,7 +1,7 @@
-