summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--txt/books.txt4
-rw-r--r--www/photo.causal.agency/trips.html7
2 files changed, 9 insertions, 2 deletions
diff --git a/txt/books.txt b/txt/books.txt
index bd31cc0d..d7a504d0 100644
--- a/txt/books.txt
+++ b/txt/books.txt
@@ -1,3 +1,7 @@
+[ 2025 ]
+
+  1. ★★☆ Ruthanna Emrys, A Half-Built Garden
+
 [ 2024 ]
 
   2. ★☆☆ R. A. MacAvoy, Tea with the Black Dragon
diff --git a/www/photo.causal.agency/trips.html b/www/photo.causal.agency/trips.html
index b0cf1de2..d65aeaef 100644
--- a/www/photo.causal.agency/trips.html
+++ b/www/photo.causal.agency/trips.html
@@ -220,7 +220,7 @@ function setTrips() {
 		rollLi.appendChild(document.createTextNode(` (${rollTrips[0].body})`));
 		let body = bodies.find(body => body.name == rollTrips[0].body);
 		let rollUl = document.createElement("ul");
-		for (let trip of rollTrips) {
+		for (let [index, trip] of rollTrips.entries()) {
 			let li = document.createElement("li");
 			let b = document.createElement("b");
 			b.appendChild(document.createTextNode(trip.date));
@@ -228,7 +228,10 @@ function setTrips() {
 			li.appendChild(document.createTextNode(
 				`: ${trip.firstExposure}–${trip.lastExposure}`
 			));
-			if (body.mount != body.name) {
+			if (
+				body.mount != body.name &&
+				(!index || trip.lens != rollTrips[index-1].lens)
+			) {
 				li.appendChild(document.createElement("br"));
 				li.appendChild(document.createTextNode(trip.lens));
 			}