Skip to content

darshanbaral/kitab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kitab theme

The kitab Theme is a simple theme meant for publishing books.

Demo

Click here for a live demo.

Installation

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.

Getting started

After installing the kitab Theme successfully, modify the config.toml as you wish.

The config file

You'll find a file called config.toml. Copy the config.tomlto the root folder of your Hugo site and customize it per your need.

Adding books

  • 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, book cover image, and date.
  • Create a new file for each chapter of the book.

Book Cover Images

The book cover image can be specified in the _index.md of the section folder. If the book cover image is big in size, a copy that is reduced in size can be specified as a thumbnail. See the _index.md in exampleSite for example.

About

A hugo theme for publishing books

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published