diff options
Diffstat (limited to 'src/components/PostList.astro')
| -rw-r--r-- | src/components/PostList.astro | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/components/PostList.astro b/src/components/PostList.astro deleted file mode 100644 index a537e43..0000000 --- a/src/components/PostList.astro +++ /dev/null @@ -1,15 +0,0 @@ ---- -const posts = await Astro.glob("../pages/blog/posts/*.md"); ---- - -<div> - <ul class="postList"> - { - posts.map((post) => ( - <li> - <a href={post.url}>{post.frontmatter.title}</a> - </li> - )) - } - </ul> -</div> |
