Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yunogasai committed Jul 3, 2024
1 parent 7ee18cb commit 54d420b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import Counter from "@components/Counter";
import CurrentTime from "@components/CurrentTime";
import BaseLayout from "../layouts/BaseLayout.astro";
import BaseLayout from '@layouts/BaseLayout.astro';
import "@styles/global.css";
import Stopwatch from "@components/Stopwatch";
---
Expand Down
2 changes: 1 addition & 1 deletion src/pages/posts.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { getCollection } from "astro:content";
import BaseLayout from "../layouts/BaseLayout.astro"
import BaseLayout from "@layouts/BaseLayout.astro"
const allPosts = await getCollection("posts");
---

Expand Down
2 changes: 1 addition & 1 deletion src/pages/posts/[...slug].astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { getCollection } from 'astro:content';
import BaseLayout from '../../layouts/BaseLayout.astro';
import BaseLayout from '@layouts/BaseLayout.astro';
export async function getStaticPaths() {
const blogEntries = await getCollection('posts');
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tags.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { getCollection } from "astro:content";
import BaseLayout from '../layouts/BaseLayout.astro';
import BaseLayout from '@layouts/BaseLayout.astro';
const allPosts = await getCollection("posts");
const tags = [...new Set(allPosts.map((post) => post.data.tags).flat())];
---
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tags/[tag].astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { getCollection } from "astro:content";
import BaseLayout from '../../layouts/BaseLayout.astro';
import BaseLayout from '@layouts/BaseLayout.astro';
export async function getStaticPaths() {
const allPosts = await getCollection("posts");
Expand Down

0 comments on commit 54d420b

Please sign in to comment.