mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:01:42 +08:00
Remove unused code
This commit is contained in:
@@ -7,8 +7,6 @@ import Footer from "@components/Footer.astro";
|
|||||||
import Search from "@components/Search";
|
import Search from "@components/Search";
|
||||||
import type { Frontmatter } from "src/types";
|
import type { Frontmatter } from "src/types";
|
||||||
|
|
||||||
localStorage.setItem("myCat", "Tom");
|
|
||||||
|
|
||||||
// Retrieve all articles
|
// Retrieve all articles
|
||||||
const posts = await Astro.glob<Frontmatter>("../contents/*.md");
|
const posts = await Astro.glob<Frontmatter>("../contents/*.md");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user