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
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
andPost
files require Front Matter dashes to be considered for processing. Otherwise, they're simply designated as aStaticFile
.Front Matter dashes should be at the very beginning, before your content, and simply look like this:
--- --- < your content >