diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 7b4bd81..a2fbb88 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -14,6 +14,8 @@ interface Props { const { title, pad, toc } = Astro.props; const shouldPad = pad === undefined ? true : pad; const hasToc = toc ?? false; + +const showLeft = import.meta.env.MODE === "production"; --- @@ -31,7 +33,7 @@ const hasToc = toc ?? false;
- + {showLeft && }