Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ pnpm-debug.log*
# jetbrains setting folder
.idea/

# Obsidian vault 및 Claudian(Obsidian용 Claude 플러그인) 설정 — contents/ 편집 도구가 생성
.obsidian/
.claudian/

# pagefind
public/pagefind

Expand Down
1 change: 0 additions & 1 deletion src/pages/portfolio.md → contents/pages/portfolio.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: ../layouts/PortfolioLayout.astro
title: "포트폴리오"
robots: "noindex, nofollow"
---
Expand Down
14 changes: 14 additions & 0 deletions src/pages/portfolio.astro
Original file line number Diff line number Diff line change
@@ -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");
}
Comment thread
CaesiumY marked this conversation as resolved.
const { Content } = await render(entry);
---

<PortfolioLayout frontmatter={entry.data}>
<Content />
</PortfolioLayout>