diff options
author | Shankar <shankar_m@protonmail.com> | 2018-10-23 07:19:03 +0300 |
---|---|---|
committer | Shankar <shankar_m@protonmail.com> | 2018-10-23 07:19:03 +0300 |
commit | 95b0a4ec1d1017d339c7f88b82b05fcf33a7ed83 (patch) | |
tree | 8cf2fbfa634eba2e40b8f83c56a8c5fb7b4fd03d /README.md |
Initial Commit
Signed-off-by: Shankar <shankar_m@protonmail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..3e73a95 --- /dev/null +++ b/README.md @@ -0,0 +1,61 @@ +# hugo-grapes +A minimalistic text based theme for Hugo inspired by [hugo-bingo](https://github.com/gundamew/hugo-bingo) theme. + +![screenshot](https://github.com/shankar/hugo-grapes/blob/master/images/screenshot.png) + +## Usage + +### Instructions + +1: Install Hugo. + +2: Create a new site. + +``` +hugo new site mynewsite +``` + +3: Change to themes dir. + +``` +cd classic/themes +``` + +4: Clone the repo + +``` +git clone git@github.com:shankar/hugo-grapes.git +``` + +5: Copy the `content/`, `static/`, and `config.toml` from the `exampleSite` directory into the classic directory. The existing `content/`, `static/`, and `config.toml` files will be over-written. +``` +cp -r hugo-grapes/exampleSite/* /path/to/mynewsite +``` + +6: Run `hugo server` within `mynewsite` and enjoy and customize to your hearts content! + +### New Posts + +To make new posts, simply use the command: + +``` +hugo new post/awesome-post.md +``` + +## Customize + +### Change Avatar + +1: The Avatar picture is to be placed in the `static` folder under your hugo site. (default picture is located in `static/img` folder) + +2: Edit the config.toml file and edit the value of the `avatar` key under `params` to let hugo know its location. +``` +[params] +avatar = "path/to/avatar" +# Path is relative to static folder. +# Example: "img/grapes.svg" for grapes.svg file located in static/img folder +``` + +## License + +This theme is released under the MIT License. See [LICENSE](https://github.com/shankar/hugo-grapes/blob/master/LICENSE). |