This commit is contained in:
parent
726554826a
commit
c1d92f48f9
1 changed files with 3 additions and 5 deletions
|
@ -14,8 +14,6 @@ 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>
|
||||||
|
@ -23,17 +21,17 @@ const showLeft = import.meta.env.MODE === "production";
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>{title && `${title} - `}Michael Zhang</title>
|
<title>{title && `${title} - `} Michael Zhang</title>
|
||||||
<slot name="head" />
|
|
||||||
<script
|
<script
|
||||||
data-goatcounter="https://goatcounter.mzhang.io/count"
|
data-goatcounter="https://goatcounter.mzhang.io/count"
|
||||||
async
|
async
|
||||||
src="//goatcounter.mzhang.io/count.js"></script>
|
src="//goatcounter.mzhang.io/count.js"></script>
|
||||||
|
<slot name="head" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="flex-wrapper">
|
<div class="flex-wrapper">
|
||||||
{showLeft && <LeftNav />}
|
<LeftNav />
|
||||||
|
|
||||||
<div class="sep"></div>
|
<div class="sep"></div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue