Contents collections를 사용하기 위해서 새로운 src/content 생성
안에서 또 다른 폴더 생성 src/content/posts, src/content/lessons
안에서 3개의 Blog 예제 생성
src/content/posts/first.mdsrc/content/posts/second.mdsrc/content/posts/third.mdsrc/content 안에서 collection을 선언할 config.js 파일을 생성
/blog안에 블로그를 생성하고, 각각의 route가 /blog/<slug>로 되어있다.
/blog/first and /blog/second 처럼?
src/pages/blog/[slug].astro를 생성하고
Astro.params와 getStaticPath() function을 사용해서 frontmatter에 작성