This commit is contained in:
parent
3fcaeccf48
commit
216b1c35ed
1 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,8 @@ interface Props {
|
||||||
const { title, pad, toc } = Astro.props;
|
const { title, pad, toc } = Astro.props;
|
||||||
const shouldPad = pad === undefined ? true : pad;
|
const shouldPad = pad === undefined ? true : pad;
|
||||||
const hasToc = toc ?? false;
|
const hasToc = toc ?? false;
|
||||||
|
|
||||||
|
const showLeft = import.meta.env.MODE === "production";
|
||||||
---
|
---
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
|
@ -31,7 +33,7 @@ const hasToc = toc ?? false;
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="flex-wrapper">
|
<div class="flex-wrapper">
|
||||||
<!-- <LeftNav /> -->
|
{showLeft && <LeftNav />}
|
||||||
|
|
||||||
<div class="sep"></div>
|
<div class="sep"></div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue