We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dee9ab commit 22c4123Copy full SHA for 22c4123
1 file changed
src/app/posts/[...slug]/page.tsx
@@ -147,6 +147,9 @@ export default async function PostDetailPage({ params }: PageProps) {
147
{/* 구분선 */}
148
<div className="mb-10 h-px bg-black/8 dark:bg-white/8" />
149
150
+ {/* 인라인 목차 (xl 미만) */}
151
+ {headings.length >= 2 && <CollapsibleTOC headings={headings} />}
152
+
153
{/* 본문 */}
154
<Suspense fallback={
155
<article className="prose max-w-none" dangerouslySetInnerHTML={{ __html: html }} />
0 commit comments