From d3317bf3c919c8378c6469f1ebdebd4cec1d0683 Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Sun, 22 Mar 2026 02:12:51 +0800 Subject: [PATCH] feat(website): add Built-in category tag for stdlib entries Stdlib entries now show a "Built-in" tag alongside their regular category tag. The tag is clickable and filters to all 17 stdlib entries. Added to data-cats attribute so existing filter logic works. Co-Authored-By: Claude Opus 4.6 (1M context) --- website/static/style.css | 6 ++++++ website/templates/index.html | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/website/static/style.css b/website/static/style.css index da7652f4..ce2f6071 100644 --- a/website/static/style.css +++ b/website/static/style.css @@ -347,6 +347,12 @@ th[data-sort].sort-asc::after { white-space: nowrap; } +.tag-source { + background: var(--bg-input); + color: var(--text-muted); + font-weight: 600; +} + /* === Arrow Column === */ .col-arrow { width: 2.5rem; diff --git a/website/templates/index.html b/website/templates/index.html index dc5fd55a..92942ef1 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -84,7 +84,7 @@ {% endfor %} + {% if entry.source_type == 'Built-in' %} + + {% endif %}