Jekyll Notes

December 28, 2020

Create a new Jekyll site scaffold in PATH

jekyll new

Change into your new directory

cd new-site

Change Gemfile and _config.yml, run

bundle install

Build your site

bundle exec jekyll build

Serve your site locally

bundle exec jekyll serve

Preview a draft post

jekyll s --drafts

Browser

http://localhost:4000/

Category

Jekyll

You may also like

Jekyll网站设置谷歌分析 Markdown table自动修剪溢出 压缩Jekyll网站的HTML

No comments yet, leave a comment

Sending failed, please try again.
Sending succeeded! It will be displayed in one minute, please refresh.
Newer Older