Rove Blog — Tailwind CSS Template documentation
Last updated 28 Nov 2026
A complete, multi-page blog template built with Tailwind CSS 4. It works out of the box: the compiled stylesheet is included, so you can open index.html with no build step. Part of the Rove Blog family by ThemeRove (the same design is available for WordPress, Blogger, HTML, Bootstrap, React and Shopify).
Pages
| File | What it is |
|---|---|
index.html |
Home: featured post, topic chips, latest-posts grid, pagination, newsletter sign-up |
post.html |
Article template: breadcrumb, byline, cover, table of contents, full prose styles, tags, share links, author box, previous/next, related posts, comments |
category.html |
Topic / tag archive with description and post count |
author.html |
Author profile and their posts |
search.html |
Search form with in-browser results and an empty state |
about.html, contact.html |
About page and contact form |
404.html |
Not-found page with search and recent posts |
feed.xml |
Example RSS 2.0 feed |
Every page links to post.html as the example article. On a real site, copy post.html once per post (or use it as the layout in a static-site generator such as Eleventy, Astro or Hugo).
Files
assets/css/tailwind.css— compiled, minified Tailwind CSS (only the classes the pages use).src/input.css— the Tailwind source: design tokens (@theme), light/dark colour variables, components (.card,.pill,.btn,.field) and the hand-written.prose-rbarticle typography. No Tailwind plugins are needed.assets/js/main.js— about 7 KB of optional progressive enhancement: theme toggle, mobile menu, reading-progress bar, table-of-contents highlighting, copy buttons for code and links, and the search filter. Every page works without it.assets/img/— original abstract SVG cover art andfavicon.svg.package.json— build scripts, if you change classes.
Use it
-
Unzip and open
index.html— no build needed. -
Replace the placeholder text, authors and covers.
-
To change Tailwind classes or tokens, install Node.js 20+, then:
npm install npm run build:css # or: npm run watch:css while editing -
Upload the HTML files,
feed.xmlandassets/to any static host.
Before you publish
- Replace
https://example.comin each page’s<link rel="canonical">, Open Graph tags and JSON-LD, and infeed.xml, with your real address. - Forms need a backend. The newsletter, comments and contact forms post to placeholder
https://example.com/...endpoints. Point each form’sactionat your own handler or a form/newsletter/comments service. - Search filters a small index embedded in
search.html. For a bigger site, generate that index at build time or use your platform’s search. - Pagination links (
#page-2,#page-3) are placeholders for your real archive pages. - Share links are plain URLs (X, LinkedIn, Bluesky, email) — no third-party scripts are loaded.
Customise
- Colours: edit the
--rb-*variables insrc/input.css(light values in:root, dark values in the two dark blocks), then rebuild. Utilities such asbg-paper,text-ink,text-muted,border-lineandbg-accentfollow them automatically. - Fonts: system fonts only (sans for headings and interface, serif for articles). Change
--font-sans,--font-serifand--font-monoin@theme. - Dark mode: follows the visitor’s system setting; the header button switches between light and dark and remembers the choice in
localStorage(rove-theme). A tiny inline script in each<head>applies the saved choice before the page paints, so there is no flash. Thedark:variant is available and follows the toggle (html.dark).
Accessibility and quality
- Semantic landmarks, one
<h1>per page, skip link, visible focus styles, labelled form fields,aria-currenton navigation, keyboard-operable menu (Escape closes it). - Text colours meet WCAG 2.2 AA contrast in both themes. Motion is reduced when the visitor asks for it.
- Print stylesheet for articles (navigation and extras hidden, link URLs printed).
- No external requests: no web fonts, CDNs, analytics or trackers. Images have
width/heightand below-the-fold images load lazily. - All pages pass
html-validate(recommended rules) with no errors.
Content
All posts, names (“Rove Editorial”, “Sam Writer”), comments and dates are placeholder content written for this template. Replace them before publishing.
Licence
MIT (LICENSE.txt), © ThemeRove. Tailwind CSS is MIT-licensed, © Tailwind Labs; the compiled stylesheet keeps its licence header.