Welcome the continuing series on using Jekyll. In this tutorial we will go through creating a page to show blog post by date.
A typical blog has a way for your readers to view posts by either category or date, so that they can look at your archives without having to go through the blog post one by one and page by page. In the last lesson, we added the post by category
page. In this lesson we will add the post by date page.
Section 1: Creating the Post by Date Page
If you have been following along with the other lessons in the series, this should be familiar to you.
Open a web browser and navigate to your [username].github.io repository.
Click on the + button to add a new file
Name the file archivebydate.md
Section 2: Adding the Metadata
Add the following front matter to the top of the archivebycategory.md file.
title: Post by Date
Section 3: Html to Display Post
After the front matter, add the following code to display the post by Year and Month.