jekyll Create Jekyll Post And Pages


Example

Create new Jekyll Post

To create a new Jekyll Post, create a new file on _posts directory with the format

YYYY-MM-DD-title.MARKUP

Replace MARKUP with the file extension for the language you want to use. This is usually Markdown(.md or .markdown) or HTML(.html).

_posts/2017-01-01-hello-jekyll.md

Create new Jekyll Page

To create a new Jekyll Page, create a new file on any folder or directory not excluded by Jekyll in your project directory.

about.html
contact/company_info.md

NOTE: Both Page and Post files require Front Matter dashes to be considered for processing. Otherwise, they're simply designated as a StaticFile.

Front Matter dashes should be at the very beginning, before your content, and simply look like this:

---
---

< your content >