feat(architecture): implement consultant review r4 (stream separation, nav upgrade, internal cta, schema & anchor fixes)
Deploy / build (push) Successful in 25s

This commit is contained in:
hoelee committed 2026-10-27 01:19:38 +08:00
1 parent cc28722c79
commit 419c962e2f
31 files changed
+286 -42

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@ import type { CollectionEntry } from 'astro:content';
import { getCollection } from 'astro:content';
import { postLang } from '../lib/lang';
import { tagCounts, tagLink } from '../lib/tags';
import { categoryLabel } from '../lib/categories';
interface Props {
posts: CollectionEntry<'posts'>[];
@@ -74,7 +75,7 @@ const thumb = (post: CollectionEntry<'posts'>, w: 400 | 800) => {
</>
)}
<span class="sep">·</span>
<a class="tag" href={catHref(post.data.category)}>{post.data.category}</a>
<a class="tag" href={catHref(post.data.category)}>{categoryLabel(post.data.category, lang)}</a>
{post.data.tags.map((t) => {
const href = tagLink(t, counts, lang);
return href ? <a class="tag" href={href}>{t}</a> : <span class="tag">{t}</span>;