2023-08-31 00:30:45 +00:00
|
|
|
---
|
2023-08-31 03:47:22 +00:00
|
|
|
import PostList from "../components/PostList.astro";
|
|
|
|
import BaseLayout from "../layouts/BaseLayout.astro";
|
2023-08-31 08:07:03 +00:00
|
|
|
import { join } from "path";
|
2024-04-02 15:01:06 +00:00
|
|
|
import "../styles/home.scss";
|
2023-08-31 08:07:03 +00:00
|
|
|
|
|
|
|
const currentUrl = Astro.url;
|
2023-08-31 00:30:45 +00:00
|
|
|
---
|
|
|
|
|
2023-08-31 03:47:22 +00:00
|
|
|
<BaseLayout>
|
|
|
|
<h2>Blog</h2>
|
|
|
|
|
2024-04-02 15:30:51 +00:00
|
|
|
<PostList class="home" timeFormat="yyyy-MM-dd" basePath={join(currentUrl.pathname, "posts")} />
|
2023-08-31 03:47:22 +00:00
|
|
|
</BaseLayout>
|