- TypeScript 64.1%
- Astro 35.2%
- CSS 0.7%
| 파일 이름 | 최신 커밋 메시지 | 최근 커밋 날짜 |
|---|---|---|
content:check now validates published documents only. Pass draft ids or URLs to also validate those drafts and their draft translations, so unrelated work-in-progress drafts no longer fail the check. |
||
| .github/workflows | ||
| .vscode | ||
| content | ||
| fixtures/articles | ||
| public | ||
| scripts | ||
| src | ||
| tests/e2e | ||
| .gitattributes | ||
| .gitignore | ||
| AGENTS.md | ||
| astro.config.ts | ||
| biome.json | ||
| package.json | ||
| playwright.config.ts | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||
| wrangler.jsonc | ||
A trilingual (English, Korean, Japanese) Astro site for articles, project notes, and resume pages.
Features
- Localized routes for English, Korean, and Japanese content
- Content collections for articles, pages, and tags
- RSS, sitemap, and robots.txt generated at build time
- Cloudflare deployment via Wrangler and GitHub Actions
Content
Articles live in the Outline collection Blog: winetree94, not in this repository.
-
Each top-level document is an original article; translations (
en,ja) are its child documents. Document titles are used as-is. -
Drafts are unpublished Outline documents and are never deployed.
-
Every document starts with the same header: a feature image (Outline attachment), a
yamlblock, and a---divider before the body. ```yaml lang: "ko" routeSlug: "my-article" publishedAt: "2026-01-01T00:00:00.000+09:00" commentsTerm: "my-article" ``` --- Body... -
The image is required in the original and optional in translations, which otherwise reuse it.
-
Every document declares its language with
lang. The original also holdsrouteSlug,publishedAt,updatedAt,tags,commentsTerm, andexcerpt; translations may only overridepublishedAt,updatedAt, orexcerptand inherit the rest. -
pnpm content:pullconverts published documents intocontent/articles(gitignored). Tests usepnpm content:fixturesinstead. -
pnpm content:checkvalidates published documents without writing files. Drafts are skipped unless passed explicitly:pnpm content:check <document id or URL>...also validates those drafts and their draft translations. Run it on a draft before publishing.
To publish content-only changes, run the Web Deployment workflow manually:
gh workflow run deployment.yaml --ref main
Development
pnpm install
export OUTLINE_API_KEY=... # read-only Outline API key
pnpm content:pull # or: pnpm content:fixtures
pnpm dev
Checks
pnpm biome
pnpm test:unit
pnpm test:component
pnpm test:e2e
pnpm build