1 ---
2 import IndexLayout from '@/layouts/IndexLayout.astro'
3 import About from '@/components/pages/About.astro'
4 import PostList from '@/components/features/PostList.astro'
5 import { SITE } from '@/config'
6 import { getSortedFilteredPosts } from '@/utils/draft'
7
8 const allPosts = await getSortedFilteredPosts()
9 // Filter for Indonesian posts only (not starting with en/)
10 const posts = allPosts.filter((post) => !post.id.startsWith('en/'))
11 ---
12
13 <IndexLayout title={SITE.title} description={SITE.description}>
14 <About />
15 <main>
16 <PostList posts={posts} />
17 </main>
18 </IndexLayout>