update blog post, and run credo with 'pi'

This commit is contained in:
2026-03-18 15:03:24 +00:00
parent 9be7c1774b
commit 3837a72059
15 changed files with 165 additions and 19 deletions
@@ -58,6 +58,7 @@ defmodule FirehoseWeb.BlogController do
end
defp parse_page(nil), do: 1
defp parse_page(str) do
case Integer.parse(str) do
{page, ""} when page > 0 -> page
@@ -6,7 +6,12 @@
<div class="space-y-4 text-lg leading-relaxed text-base-content/80">
<p>
I'm <strong class="text-base-content">Willem van den Ende</strong>,
partner at <a href="https://qwan.eu" class="text-primary hover:underline" target="_blank" rel="noopener">QWAN</a>.
partner at <a
href="https://qwan.eu"
class="text-primary hover:underline"
target="_blank"
rel="noopener"
>QWAN</a>.
This is where I write about AI-native consulting, shitty evals,
and whatever prototype I'm building this week.
</p>
@@ -21,7 +26,9 @@
class="rounded-box border border-base-200 p-5 space-y-2 hover:border-primary/30 transition"
>
<a href={"#{post_base_path(post)}/#{post.id}"} class="block space-y-2">
<h3 class="font-semibold text-base-content hover:text-primary transition">{post.title}</h3>
<h3 class="font-semibold text-base-content hover:text-primary transition">
{post.title}
</h3>
<p class="text-sm text-base-content/60">{post.description}</p>
<div class="flex items-center gap-2 text-xs text-base-content/50">
<time datetime={Date.to_iso8601(post.date)}>