원래 있던 sitemap.xml
이 노트 페이지는 긁어오지 못해서 플러그인을 이용하기로 했다. 설치 방법은 아주 간단했다.
Gemfile
에gem 'jekyll-sitemap'
을 추가하고- 프로젝트 루트 디렉토리에서
bundle install
을 실행한다. _config.yml
을 수정한다. ```yml plugin:- jekyll-sitemap defaults:
- scope: path: ‘’ type: ‘notes’ values: sitemap: true ```
- 시간이 지나면
_site
디렉토리 안에sitemap.xml
파일이 자동으로 생성된다.