diff --git a/src/components/article/ArticleBody.astro b/src/components/article/ArticleBody.astro index 3361c04..ba409f0 100644 --- a/src/components/article/ArticleBody.astro +++ b/src/components/article/ArticleBody.astro @@ -49,6 +49,10 @@ const articlePrettyName = article!.id.split("/").pop()!.replace(".md", ""); margin: 1em 0 1em 0; padding: 0 0 0 20px; } + /* hide TOC headint */ + :global(.article-title ~ h2:nth-of-type(1)) { + display: none; + } /* font for all code */ :global(.article code) { font-family: "Consolas", "Tahoma", sans-serif;