diff --git a/.gitignore b/.gitignore index b179a22..aa8baf2 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,10 @@ pnpm-debug.log* # jetbrains setting folder .idea/ +# Obsidian vault 및 Claudian(Obsidian용 Claude 플러그인) 설정 — contents/ 편집 도구가 생성 +.obsidian/ +.claudian/ + # pagefind public/pagefind diff --git a/src/pages/portfolio.md b/contents/pages/portfolio.md similarity index 99% rename from src/pages/portfolio.md rename to contents/pages/portfolio.md index e118cbe..a353a54 100644 --- a/src/pages/portfolio.md +++ b/contents/pages/portfolio.md @@ -1,5 +1,4 @@ --- -layout: ../layouts/PortfolioLayout.astro title: "포트폴리오" robots: "noindex, nofollow" --- diff --git a/src/pages/portfolio.astro b/src/pages/portfolio.astro new file mode 100644 index 0000000..951e617 --- /dev/null +++ b/src/pages/portfolio.astro @@ -0,0 +1,14 @@ +--- +import { getEntry, render } from "astro:content"; +import PortfolioLayout from "@/layouts/PortfolioLayout.astro"; + +const entry = await getEntry("pages", "portfolio"); +if (!entry) { + throw new Error("Content collection entry 'pages/portfolio' not found"); +} +const { Content } = await render(entry); +--- + + + +