Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
An Eleventy starter blog theme with TailwindCSS, NetlifyCMS, Hyvor Talk comments, and MathJax, ready for one-click Netlify deploy.
Twenty Twentyone is an Eleventy starter blog theme styled with TailwindCSS, built for one-click deployment to Netlify and inspired by Ghost's default Casper theme.
Twenty Twentyone is a static blog starter template built on Eleventy (11ty), a JavaScript static site generator. The theme takes Markdown files as its content source and outputs a static HTML blog with plain HTML templates and TailwindCSS styling. Created by smolcodes and published on GitHub, it includes configuration for NetlifyCMS, Hyvor Talk comments, and MathJax, and offers a one-click Deploy to Netlify button for fast setup.
The theme uses a two-step build: first run npm run build:eleventy to compile the Eleventy site, then npm run webpack to bundle assets. For local development, npm run start runs the site. You can also deploy automatically by clicking the Deploy to Netlify button in the repository, which connects the GitHub repo and builds the site on Netlify's servers.
Yes, the theme is publicly available on GitHub as an open-source project, so you can clone, modify, and deploy it. Hosting costs would depend on your chosen provider; Netlify offers a free tier.
Create an account on Hyvor, find your site ID on the General Settings page of the Hyvor Dashboard, and paste that ID into post.html located in src/_includes/layouts.
After adding your repository to Netlify, edit src/admin/config.yml to change the repository value to your own repo, and enable GitHub registration in Identity settings under Netlify.
Yes, code blocks are styled with Prism, which is included through the TailwindCSS setup and the Tailwind Typography plugin.
Edit the site.json data file found in src/_data. This is where global site settings like the title and description are stored.
