commit be774680b2e8ffe1a9ed2d096fffd19481f45ac4
parent 3964830807f5d7554cedad63e167d291ecb57567
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 14 Oct 2026 08:11:05 -0400
umtool: the article piece's meta line drops the home link the trail already has
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/umtool/components/articles/ArticlePage.tsx b/umtool/components/articles/ArticlePage.tsx
@@ -137,9 +137,12 @@ export default async function ArticlePage({
const meta = (
<div data-article-meta className="flex flex-wrap items-center gap-x-3 gap-y-1 text-[12px] text-[var(--color-dim)]">
- <Link href={home.href} className="hover:text-[var(--color-text)]">
- {home.label}
- </Link>
+ {/* The home link, unless the trail already has it (the store's "articles"). */}
+ {!crumbs.some((c) => c.href === home.href) && (
+ <Link href={home.href} className="hover:text-[var(--color-text)]">
+ {home.label}
+ </Link>
+ )}
<span
data-status={missing ? "pending" : published ? "published" : "draft"}
className={badgeVariants({ variant: published ? "on" : missing ? "open" : "neutral", size: "sm" })}