Post

Create Static Website with GitPage and Jekyll

workflow

  1. make changes
  2. local test If the change is made in _config.ymal or it is the first-time building, run
    1
    
    bundle exec jekyll serve
    

    then visit http://localhost:4000. Otherwise, just save the file and jekyll will complete auto-regeneration, then refresh the demo page to view the changes.

  3. state and commit
  4. push to remote

Changes are updated once the file is save during local testing. However, if the change is made in _config.ymal, the site needs to be rebuilt by bundle exec jekyll serve.

This post is licensed under CC BY 4.0 by the author.

Trending Tags