From 70d054494cf5e6878a1ed702852ecb2065116592 Mon Sep 17 00:00:00 2001 From: Darshan Baral Date: Sat, 18 May 2019 18:57:03 -0700 Subject: Modified README --- README.md | 27 +++++++++++++++++++++++++-- theme.toml | 4 ++-- 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a07a20f..8ded7c2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,25 @@ -# kitab -A hugo theme for publishing books +# kitab theme + +The kitab Theme is a simple theme meant for publishing books. + +## 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](//gohugo.io/overview/installing/) 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`](https://github.com/darshanbaral/kitab/blob/master/exampleSite/config.toml). Copy the `config.toml`to 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, and date. diff --git a/theme.toml b/theme.toml index 60ab59c..470e2c4 100644 --- a/theme.toml +++ b/theme.toml @@ -1,8 +1,8 @@ name = "kitab" license = "MIT" -licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE" +licenselink = "https://github.com/darshanbaral/kitab/blob/master/LICENSE" description = "A hugo theme for publishing books" -homepage = "" +homepage = "https://github.com/darshanbaral/kitab" tags = ["book"] features = ["minimal", "responsive"] min_version = "0.41" -- cgit v1.2.3