Home / Companies / Strapi / Blog / Post Details
Content Deep Dive

Building a Blog with 11ty and Strapi

Blog post from Strapi

Post Details
Company
Date Published
Author
Daniel Madalitso Phiri
Word Count
1,945
Language
English
Hacker News Points
-
Summary

This tutorial outlines the process of building a static blog using Eleventy, a static site generator, and Strapi, a headless CMS. It begins by introducing Eleventy's flexibility through its support for various templating languages and its ability to decouple web pages from content. The guide then walks through setting up a Strapi project to create and manage a content model for a blog, using the Strapi GraphQL API to retrieve data. Following this, it explains how to install Eleventy and clone its blog starter template to create the frontend of the blog. The tutorial details how to create templates using Nunjucks, emphasizing the separation of content from presentation, with specific instructions on setting up templates for blog listings and individual posts. The guide concludes by encouraging users to experiment with Eleventy and Strapi to build personalized projects.