Strapi x 11ty - A simple Blog site using 11ty, built with Strapi
This application helps you get started building a blog website with a few other pages. Feel free to fork, edit and customise it for your own use.
- Minimal design
- Page Slugs
- GraphQL first approach
title
: Textcontent
: Rich Textpublished_at
: Dateauthor
: Textslug
: Text
- Testing Pagination
- A home page :
/
- An about me page :
/about
- A blog page :
/blog
- A blog post page
:/blog/:Slug
To get started clone the repo
git clone https://github.com/malgamves/11ty-x-strapi.git
cd 11ty-x-strapi
The project has two folders frontend
for your 11ty frontend and backend
for your Strapi backend.
The frontend is built with 11ty. This sets up your frontend.
cd frontend
yarn install
Then run yarn serve
to start your frontend server.
The backend is built with Strapi. This sets up your backend.
cd backend
yarn install
Then run yarn develop
to start your backend server.
Run eleventy
as your build command and serve the _site
directory. This is possible in Static Hosting providers like Netlify and Vercel
For your backend, Strapi has numerous options in it's deployment guide.
Feel free to send over a PR for any changes you think should be included.