Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@miya0001
Created June 24, 2018 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miya0001/325555512115bc35a3209090602c01ef to your computer and use it in GitHub Desktop.
Save miya0001/325555512115bc35a3209090602c01ef to your computer and use it in GitHub Desktop.
Jekyll Markdown Example
layout title date categories
post
Welcome to Jekyll!
2015-11-17 16:16:01 -0600
jekyll update

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run bundle exec jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

To add new posts, simply 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment