Michael Zhang
10426919e1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
13 lines
281 B
Text
13 lines
281 B
Text
---
|
|
import PostList from "../components/PostList.astro";
|
|
import BaseLayout from "../layouts/BaseLayout.astro";
|
|
import { join } from "path";
|
|
|
|
const currentUrl = Astro.url;
|
|
---
|
|
|
|
<BaseLayout>
|
|
<h2>Blog</h2>
|
|
|
|
<PostList basePath={join(currentUrl.pathname, "posts")} />
|
|
</BaseLayout>
|