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

README.md - github.com/shaform/hugo-theme-den.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f784e2e0c6b15144f976f5e59eff1c2001918d30 (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
# hugo-theme-den

A simple theme for Hugo

> It's a port of the [Nest](https://github.com/molivier/nest) Pelican theme.

## Screenshots

![den-showcase](https://raw.githubusercontent.com/shaform/hugo-theme-den/master/images/tn.png)

## Installation

```bash
$ git clone https://github.com/shaform/hugo-theme-den themes/den
```

**Important:** Take a look inside the [`exampleSite`](https://github.com/shaform/hugo-theme-den/tree/master/exampleSite) directory of this theme.
You'll find a file called [`config.toml`](https://github.com/shaform/hugo-theme-den/blob/master/exampleSite/config.toml).
**To use it, copy the [`config.toml`](https://github.com/shaform/hugo-theme-den/blob/master/exampleSite/config.toml) in the root directory of your Hugo site.**
You can customize it for your site.

## Language Support

> Translations are collected from the [`themes/den/i18n/`](https://github.com/shaform/hugo-theme-den/tree/master/i18n) directory (built into the theme), as well as translations present in `i18n/` at the root of your project. The translations will be merged and take precedence over what is in the theme folder.

Set the default language using `defaultContentLanguage`:
```toml
defaultContentLanguage = "en"  # en / zh-tw / other...
```

## Update Theme

```bash
cd ./themes/den/
git pull
```

## License

Released under the [GPLv2](https://github.com/shaform/hugo-theme-den/blob/master/LICENSE) License.

## Acknowledgements

- [Nest](https://github.com/molivier/nest)
- [hugo-theme-jane](https://github.com/xianmin/hugo-theme-jane)

## Websites that use Den

- [翼之都](https://city.shaform.com/)