Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md - github.com/shankar/hugo-grapes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ffe72eda1a3bf52806e27a9e03457f95b4c2037c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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 directory.

```
cd mynewsite/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 `mynewsite` 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).