Skip to content

Commit

Permalink
Removed table of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
LyonSyonII committed Nov 17, 2023
1 parent cf8c957 commit 9f37bda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import svelte from "@astrojs/svelte";

// https://astro.build/config
export default defineConfig({
site: "https://lyonsyonii.github.io",
site: "https://garriga.dev",
base: "/rust-quest",
integrations: [
starlight({
title: "Rust Quest",
tableOfContents: false,
logo: {
src: "./src/assets/ferris.svg",
// replacesTitle: true,
Expand Down
4 changes: 2 additions & 2 deletions src/components/QuestionCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { question } = Astro.props;
---

<article class="card">
{question && <p>{question}</p>}
{question && <p id={question}>{question}</p>}
<slot />
</article>

Expand All @@ -23,4 +23,4 @@ const { question } = Astro.props;
gap: clamp(0.5rem, calc(0.125rem + 1vw), 1rem);
overflow: auto;
}
</style>
</style>

0 comments on commit 9f37bda

Please sign in to comment.