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

README.md - github.com/wayjam/hugo-theme-mixedpaper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: af70ff31aae543345919669c7d4606ae6b7d515e (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
62
63
# Mixedpaper for Hugo

Mixedpaper is a minimalist Hugo theme for writers and bloggers.

## Feature

- Clean and minimalist
- SCSS styling
- Syntax highlighting
- Styled Archives
- Minimal vanilla js

## Installation

Navigate to the root directory of your Hugo site and clone this repository.

```
git clone https://github.com/wayjam/hugo-theme-mixedpaper.git themes/mixedpaper
```

Refer to the [Hugo docs](https://gohugo.io/getting-started/quick-start/) for more information.

## Configuration

#### Hightlight

To enable theme-defined highlighting style, please set `pygmentsUseClasses = true` in `config.toml`

#### Archives

```toml
[[menu.main]]
	name = "Archives"
	identifier = "archives"
	url = "/archives/"
```

#### Comments

Supported Disqus and Valine now.

```toml
[params.comment]
type = "disqus" # or valine
[params.comment.valine]
appid = "appid"
appkey = "appkey"
notify = "notify"
verify = "verify"
placeholder = "enjoy~"
avatar = "mm"
meta = "nick,mail"
pageSize = 10.0
visitor = false
```

#### More

Refer to `exampleSite/config.toml` for more example.

## License

Released under the [MIT License](https://github.com/wayjam/hugo-theme-mixedpaper/blob/master/LICENSE.md).