How to Create a Post in Jekyll
File Formating
A file used to create a post must be named “YYYY-MM-DD-nameofpost.md.” That file then must reside within the “_posts” folder.
Each file used for a post must begin with the front matter as shown below:
1
2
3
4
5
6
7
---
layout: post
title: Title for your post
date: YYYY-MM-DD HH:MM:SS +-0000 #Time denoted using the 24 hour clock "+-0000" used to offset time, from the timezone set in "_config.yml"
categories: [cat1, CAT2, cat3] #Categories must be separated by a comma
tags: [tag1,tag2,tag3] #Tags function like an array, must be separated by a comma, lowercase, no excess whitespace
---
References
Below are the links used to build both this post and the previous Hello Homelab post.
Sites and Docs
Chirpy Theme Writing a New Post
This post is licensed under CC BY 4.0 by the author.