From be1f922e8e97421b54f168093eca4eaca603b9b4 Mon Sep 17 00:00:00 2001 From: Jake Zerrer Date: Tue, 13 Jan 2026 09:41:52 -0500 Subject: Add books 2026 --- home/src/pages.clj | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'home/src/pages.clj') diff --git a/home/src/pages.clj b/home/src/pages.clj index 2c3a6a2..d04b698 100644 --- a/home/src/pages.clj +++ b/home/src/pages.clj @@ -6,6 +6,7 @@ [components :refer [template page]])) (def home-uri "/") +(def books-2026-uri "/books-2026") (def books-2025-uri "/books-2025") (def films-2025-uri "/films-2025") (def second-sex-uri "/second-sex-quotes") @@ -24,7 +25,8 @@ (fn [[uri name]] (html [:li [:a {:href (str uri)} name]])) - [[books-2025-uri "Favorite reads of 2025"] + [[books-2026-uri "Favorite reads of 2026"] + [books-2025-uri "Favorite reads of 2025"] [films-2025-uri "Films I enjoyed in 2025"] [second-sex-uri "The Second Sex: Selected Excerpts"] [past-work-uri "Past work"]])]]))) @@ -60,6 +62,15 @@ [:li "The Power Broker (Robert Caro)"] [:li "Mating (Normal Rush)"]]]))) +(defn books-2026 + [] + (page + (html + [:<> + [:h1 "Favorite reads of 2026"] + [:ul + [:li "The Price of Peace (Zachary D. Carter)"]]]))) + (defn past-work [] (page @@ -85,6 +96,7 @@ (defn pages [] {home-uri home + books-2026-uri books-2026 books-2025-uri books-2025 films-2025-uri films-2025 past-work-uri past-work -- cgit v1.2.3