Static blog with front page summary

Goal: have a personal blog, and try out another point in the 'modular
app design with elixir' space.

Designing OTP systems with elixir had some interesting ideas.
This commit is contained in:
Your Name
2026-03-17 11:17:21 +00:00
commit bc14696f57
94 changed files with 6846 additions and 0 deletions
@@ -0,0 +1,13 @@
defmodule FirehoseWeb.PageController do
use FirehoseWeb, :controller
def home(conn, _params) do
recent_posts =
(Firehose.EngineeringBlog.recent_posts(3) ++
Firehose.ReleaseNotes.recent_posts(3))
|> Enum.sort_by(& &1.date, {:desc, Date})
|> Enum.take(6)
render(conn, :home, recent_posts: recent_posts)
end
end