Skip to content

Commit

Permalink
feat: try out astro-capo
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Aug 26, 2023
1 parent a76a911 commit 2080d28
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"@astrojs/check": "^0.1.0",
"@astrojs/mdx": "1.0.0-rc.2",
"@types/igdb-api-node": "^5.0.0",
"astro-capo": "^0.0.0",
"astro-expressive-code": "^0.22.2",
"dotenv": "^16.3.1",
"github-slugger": "^2.0.0",
Expand Down
16 changes: 16 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import MobileMenuSide from "$components/layout/MobileMenuSide.astro";
import Sidebar from "$components/layout/SideBar.astro";
import Socials from "$components/layout/Socials.astro";
import { getBaseSiteURL } from "$utils";
import { Head } from "astro-capo";
import { Sprite } from "astro-icon";
import "src/assets/style/prin.css";
import type { MenuItem } from "../data/sidebarMenu";
Expand All @@ -20,7 +21,7 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site);
---

<html lang="en">
<head>
<Head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down Expand Up @@ -52,7 +53,7 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site);
<meta property="og:url" content={canonicalURL} />

<script src="../assets/scripts/main.ts"></script>
</head>
</Head>
<body>
<script is:inline>
const theme = localStorage.getItem("theme"),
Expand Down

0 comments on commit 2080d28

Please sign in to comment.