A Complete Guide to Building a Blog with Eleventy
Let's begin by first describing exactly what we're building. I think most developers have a good idea of what a blog is, but every blog is different. For this guide, I will support the following features:
- A home page that displays the last ten blog articles, newest on top. For each blog post, we display the title, date published, and an excerpt of the post.
- A page that displays the blog post. This will have the title, published date, a list of categories assigned to the post, and the contents of the post itself.
- Every blog post will have one or more categories assigned to it. Each category will have its own index page with a list of blog posts assigned to it. Each item in the list will have the title and date of the post, nothing more.
- An author page, basically, who is doing the writing?
- An archives page that lists every single blog post. This will use Eleventy's pagination system.
- A set of category archive pages. The same idea as the main archives page, but unique per category.
- A RSS feed.
January 21, 2022 at 9:48:01 AM EST
*
FILLER