From 36e0a3f8486bb2a8b288694dcf460a75d0517f57 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Wed, 2 Jul 2025 00:15:42 +0900
Subject: feat(blog/nuldoc): show entry tags in list page

---
 services/blog/nuldoc-src/components/SlidePageEntry.tsx | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(limited to 'services/blog/nuldoc-src/components/SlidePageEntry.tsx')

diff --git a/services/blog/nuldoc-src/components/SlidePageEntry.tsx b/services/blog/nuldoc-src/components/SlidePageEntry.tsx
index d2cf9a17..24017650 100644
--- a/services/blog/nuldoc-src/components/SlidePageEntry.tsx
+++ b/services/blog/nuldoc-src/components/SlidePageEntry.tsx
@@ -5,8 +5,12 @@ import {
 } from "../generators/post.ts";
 import { SlidePage } from "../generators/slide.ts";
 import { dateToString } from "../revision.ts";
+import { Config } from "../config.ts";
+import TagList from "./TagList.tsx";
 
-export default function SlidePageEntry({ slide }: { slide: SlidePage }) {
+type Props = { slide: SlidePage; config: Config };
+
+export default function SlidePageEntry({ slide, config }: Props) {
   return (
     <article className="post-entry">
       <a href={slide.href}>
@@ -32,6 +36,9 @@ export default function SlidePageEntry({ slide }: { slide: SlidePage }) {
               </time>
             )}
           {postHasAnyUpdates(slide) && " 更新"}
+          {slide.tags.length !== 0 && (
+            <TagList tags={slide.tags} config={config} />
+          )}
         </footer>
       </a>
     </article>
-- 
cgit v1.2.3-70-g09d2

