You’ll find this post in your _posts directory. Go ahead and edit it and commit your changes to to the repository. GitHub will automatically rebuild your site. Wait a few minutes and then refresh the site link to see the new changes. There are two main ways to make changes to your site:

  • Edit files within your in the browser at GitHub.com
  • Clone down your repository and make updates locally, then push them to your GitHub repository.

To add new posts: Add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

Jekyll also offers powerful support for code snippets:

def print_message(message):
  print(message)

print_message("Welcome to GitHub Pages")

Check out the Jekyll docs for more info on how to get the most out of Jekyll.

Updated: