From 4924ce68d9308a2e7c0b2d8b334869611a3dca3d Mon Sep 17 00:00:00 2001 From: Onehill Date: Thu, 19 Nov 2026 23:27:13 +0100 Subject: [PATCH 1/2] Show each entry's own last_verified date in the site footer Entry and domain pages hard-coded "Reviewed 2026-07-25", so every page showed that date whatever the entry's real verification date. The entry record now carries last_verified and both templates use it. Co-Authored-By: Claude Sonnet 5.5 Signed-off-by: Onehill --- site/src/lib/entries.ts | 1 + site/src/pages/library/[dir]/[id].astro | 2 +- site/src/pages/library/[dir]/[id]/[domain].astro | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/site/src/lib/entries.ts b/site/src/lib/entries.ts index 76e53db..06c5aa8 100644 --- a/site/src/lib/entries.ts +++ b/site/src/lib/entries.ts @@ -236,6 +236,7 @@ export function toRecord(item: { id: string; type: 'model' | 'provider'; dir: st title, name: e.name || item.id, summary: firstSentence(e.summary || ''), + lastVerified: e.last_verified instanceof Date ? e.last_verified.toISOString().slice(0, 10) : String(e.last_verified || ''), identity: idf, grade: e.score?.grade || '', score: e.score?.headline ?? null, diff --git a/site/src/pages/library/[dir]/[id].astro b/site/src/pages/library/[dir]/[id].astro index 05915fb..c8dab8b 100644 --- a/site/src/pages/library/[dir]/[id].astro +++ b/site/src/pages/library/[dir]/[id].astro @@ -21,7 +21,7 @@ const crumbs = [ ]; const href = (r) => `${base}/library/${r.dir}/${r.id}/`; --- - +