Skip to content

Commit f591349

Browse files
committed
books
1 parent b3ce80c commit f591349

4 files changed

Lines changed: 18 additions & 51 deletions

File tree

.astro/data-store.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: "SQLite System Design and Implementation"
3+
author: Sibsankar Haldar
4+
rating: 5
5+
finishedAt: 2026-04-08
6+
---
7+
8+
Notes coming soon.

src/pages/books/[slug].astro

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/pages/index.astro

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,14 @@ const linksClass = "w-fit font-bold";
259259
<div class="bookshelf-list not-prose">
260260
{
261261
booknotes.map((book) => (
262-
<a href={`/books/${book.id}`} class="bookshelf-row group">
262+
<a
263+
href={`https://www.amazon.com/s?k=${encodeURIComponent(
264+
`${book.data.title} ${book.data.author ?? ""}`,
265+
)}`}
266+
target="_blank"
267+
rel="noreferrer"
268+
class="bookshelf-row group"
269+
>
263270
<span class="bookshelf-title text-lg text-blue-600 group-hover:underline">
264271
{book.data.title}
265272
</span>
@@ -281,7 +288,7 @@ const linksClass = "w-fit font-bold";
281288
}
282289
</div>
283290
<p>
284-
You can see the rest on my{" "}
291+
Each title opens on Amazon. You can see the rest on my{" "}
285292
<a href="https://letterboxd.com/erenworld/likes/films/by/date/size/large/">
286293
Letterboxd
287294
</a>.

0 commit comments

Comments
 (0)