Posting in Jekyll
Creating individual blog posts in GitHub pages is easy. In this post I will show you the basics.
How to easy post in GitHub Pages
Posts must be in the folder _postsand must have a special file format.
Naming the file
The format is the following:
YYY-MM-DD-NAME-OF-POST.md
YEAR is a four-digit number, MONTH and DAY are both two-digit numbers. The file can have the .md or .markdown extension.
The file header
Add a header with the following values to the file:
---
layout: post
title: "Posting in Jekyll"
date: 2021-08-13 17:30:00 -0200
categories: GitHub Jekyll Markdown
permalink: /2021-08-13_posting-in-jekyll/
published: true
---
Add content
Use markdown to write the post.