Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Astro v5 blog starter with Tailwind CSS v4, MDX, i18n, multi-author, tags, pagination, Giscus comments, and SEO built in.
The Tailwind Astro Starter Blog is a free, open-source blog starter that pairs Astro v5 with Tailwind CSS v4 to generate a fast, SEO-optimized static site from Markdown and MDX content.
It is a blog template for developers who want a static site generator setup with Astro v5 and Tailwind CSS v4. You provide posts as Markdown or MDX files in the content collection, and the template outputs a deployable static site with per-page tags, author pages, related posts, pagination, and i18n routing. The project is maintained by GitHub user wanoo21, and the live demo is deployed on Vercel at tasb.yon.fun.
The template combines the Astro v5 build system with Tailwind CSS v4 and a set of content-focused features configured through TypeScript files.
src/content/config.ts, giving compile-time checks on author, tag, and post fields.@tailwindcss/vite plugin, with a configurable primary color attribute..mdx, so you can embed Solid-js components and other interactivity directly in content.src/consts.ts.src/i18n/ui.ts.@fontsource, and images are optimized with the Astro image component.This starter is aimed at developers and publishers who want a content-file-based blog with modern front-end tooling and no CMS dependency.
The template covers a range of real publishing and development workflows.
src/consts.ts with your site metadata and social links, and publish your first post in Markdown or MDX.src/i18n/ui.ts to publish the same content in multiple languages (no dynamic language switcher is included).The template follows the standard Astro workflow. After running npm install, you use npm run dev to start the dev server at localhost:4321, edit content and configuration files, then run npm run build to output the production site to ./dist/. Docker commands are also included to build a container with docker build -t app:1.0.0 . and run it with docker run -p 80:4321 app:1.0.0.
Yes. The source is publicly available on GitHub under the repository wanoo21/tailwind-astro-starting-blog, and it includes a one-click Vercel deployment button. It does not appear to have a paid tier; sponsorship is optional via GitHub Sponsors.
Yes, the template includes both light and dark themes, and the Giscus comment widget automatically adapts to the active theme.
Posts are authored as Markdown or MDX files inside the Astro content collection. Using MDX lets you embed Solid-js components and other interactive elements in a post.
Yes, multiple authors are supported. Each author is defined in an .mdx file inside src/content/authors, and the template automatically generates a dedicated author page listing all their posts.
Comments use Giscus, which depends on GitHub Discussions. You need to enable Discussions on your repository, get your repository and category IDs from giscus.app, and fill in the comments section in src/consts.ts. You can also disable comments per-post or globally in POST_METADATA.
