copilot/add-i18n-support-for-english
copilot/add-i18n-support-for-english
dependabot/npm_and_yarn/astro-5.16.4
dependabot/npm_and_yarn/katex-0.16.27
dependabot/npm_and_yarn/prettier-3.7.4
dependabot/npm_and_yarn/tailwindcss-4.1.16
dependabot/npm_and_yarn/tailwindcss/vite-4.1.16
dependabot/npm_and_yarn/typescript-eslint-8.46.2
dependabot/npm_and_yarn/typescript-eslint/parser-8.46.2
development
main
| 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> |