Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Hugo theme for publishing books as static websites, with per-book metadata, chapter files, and cover images.

A free, responsive HTML5 single-page site template from HTML5 UP with a hero, features, stats, and Twitter widget.
Kitab is a Hugo theme designed specifically for publishing books as static websites, turning chapter files and book metadata into a browsable online reading experience. It is aimed at authors and publishers who want a no-frills, structure-driven way to present long-form content on the web.
Kitab is a Hugo theme for publishing books as static websites. It takes a folder of chapter files plus a book-level metadata file (_index.md) and produces a multi-page online book. The theme runs on the Hugo static site generator and is developed by Darshan Baral; the page describes it as a "simple theme meant for publishing books."
content directory, with _index.md holding metadata such as title, author, cover image, and date._index.md, and an optional smaller thumbnail copy can be provided for performance when the full image is large.exampleSite directory with a sample book (Emma) and a ready-to-copy config.toml to speed up setup._index.md with the book's metadata, and write each chapter as its own file; the theme renders them into a structured reading site.content, each with independent metadata and chapter lists.config.toml (copied from exampleSite) to change site-level settings, and specify per-book covers and thumbnails.Install the theme by cloning the repository into the themes folder of a Hugo site, then copy config.toml from exampleSite to your project root. After that, create a folder inside content for each book, add _index.md with metadata, and add one file per chapter. Hugo builds the static site, which you can deploy to any static hosting service.
The theme is open-source and hosted on GitHub; the repository is publicly accessible and can be cloned for free under Hugo's normal usage.
No. Kitab is a Hugo theme, so it generates a static site with no server-side code; you only need Hugo to build the site locally or in CI.
Chapters are written as Hugo content files (Markdown), with metadata in _index.md using TOML front matter fields like title, author, cover image, and date.
Yes. The content structure supports multiple folders under content, each representing a separate book with its own _index.md metadata.
The theme page links to a live demo at kitab-f00.pages.dev, hosted on Cloudflare Pages, and the exampleSite includes a sample book called Emma.
