💡 핵심 요약 (Executive Summary)
본 가이드는 jekyll jekyll notion 핵심 가이드 및 실전 아키텍처의 핵심 개념, 실전 구성 명령어 및 아키텍처 베스트 프랙티스를 다룹니다. 클라우드 네이티브 및 인프라 엔지니어링 실무에 즉시 활용 가능하도록 체계적으로 정리했습니다.
📑 Table of Contents
bash
bundle add notion-ruby-client
bundle install
bundle add jekyll-notion
gem install jekyll-notion
vi _config.yml
---
plugins:
- jekyll-notion
...
notion:
databases:
- id: '5cfed4de3bdc4f43ae8ba653a7a2219b'
---
#노션 통합키 확인
https://www.notion.so/my-integrations
export NOTION_TOKEN=<secret_...>
#노션에서 공유할 DB를 통합키에 커넥션
jekyll build
콜렉션 구분
bash
collections:
- recipes
- films
notion:
databases:
- id: b0e688e199af4295ae80b67eb52f2e2f
- id: 2190450d4cb34739a5c8340c4110fe21
collection: recipes
- id: e42383cd49754897b967ce453760499f
collection: films
정렬 및 필터
bash
notion:
databases:
- id: e42383cd49754897b967ce453760499f
collection: posts
filter: { "property": "Published", "checkbox": { "equals": true } }
sorts: [{ "timestamp": "created_time", "direction": "ascending" }]
페이지
bash
notion:
pages:
- id: 5cfed4de3bdc4f43ae8ba653a7a2219b
- id: b0e688e199af4295ae80b67eb52f2e2f
- id: 2190450d4cb34739a5c8340c4110fe21
데이터 개체에 할당
txt
notion:
databases:
- id: b0e688e199af4295ae80b67eb52f2e2f
- id: e42383cd49754897b967ce453760499f
data: films
pages:
- id: e42383cd49754897b967ce453760499f
- id: b0e688e199af4295ae80b67eb52f2e2f
data: about
Watch (첫번째 빌드 이후에도 지속적으로 요청)
bash
notion:
fetch_on_watch: true
databases:
- id: e42383cd49754897b967ce453760499f
적용 예시
Leave a Reply