The kitab Theme is a simple theme meant for publishing books.
Inside the folder of your Hugo site run:
$ cd themes
$ git clone https://github.com/darshanbaral/kitab.git
For more information read the official setup guide of Hugo.
After installing the kitab Theme successfully, modify the config.toml
as you wish.
You'll find a file called config.toml
. Copy the config.toml
to the root folder of your Hugo site and customize it per your need.
- Create a folder inside the
content
folder for each book - Add
_index.md
inside the folder for book with meta data such as book title, author, and date. - Create a new file for each chapter of the book.