blob: c492c41064103a30fde600e702f012a14310d297 (
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
|
# hugo-theme-pure
A port of [hexo-theme-pure](https://github.com/cofess/hexo-theme-pure) for Hugo. Powerful & Clean.
## Installation
```bash
$ git clone https://github.com/xiaoheiAh/hugo-theme-pure themes/pure
```
### **Note**
1. Please copy the config.yml under the `exampleSite` folder to the root folder of your Hugo Site. Feel free to change it. If you don't like `.yml` file, you can also convert it to you want.
2. Your post should under the `posts` folder, like this : `hugo new posts/any.md`
## Multilingual
Translations are collected from the [`themes/even/i18n/`](https://github.com/olOwOlo/hugo-theme-even/tree/master/i18n) folder (built into the theme), as well as present in `i18n` at your root of project.
You can specify `defaultContentLanguage` to use translations.
```yml
defaultContentLanguage: zh # en,fr...
```
Currently supports English and Chinese, you can see `en.yml` and `zh.yml` under `pure/i18n`. If you want to support other language, you can copy any yml file under `i18n` and rename to new language, then feel free to translate.
### Favicon & Images
You should put you images into `static` folder at your root project. When specify `favicon` or `donate qr code` , don't use absolute url like `/favicon.ico`, please use relative url like `favicon.ico` or `donate/alipay.png`
## License
Released under the [MIT](https://github.com/olOwOlo/hugo-theme-even/blob/master/LICENSE.md) License.
## Acknowledgements
- [hexo-theme-pure](https://github.com/cofess/hexo-theme-pure)
- [hugo-theme-even](https://github.com/olOwOlo/hugo-theme-even)
|