summaryrefslogtreecommitdiff
path: root/README.md
blob: e4fea320e79003987b09e8d5ac897cb393c5c098 (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
# Paper <sup><sup><sub>v4.9 (Dark Mode)</sub></sup></sup>

A simple, clean, flexible Hugo theme.

☄️ Fast | ☁️ Fluent | 🌙 Smooth

---

## Overview

Demo: https://nanxiaobei.github.io/hugo-paper/

<p>
<kbd>
  <img src="https://raw.githubusercontent.com/nanxiaobei/hugo-paper/master/images/screenshot.png" alt="Paper">
</kbd>
</p>

<p>
<kbd>
  <img src="https://raw.githubusercontent.com/nanxiaobei/hugo-paper/master/images/screenshot_dark.png" alt="Paper Dark Mode">
</kbd>
</p>

Hugo themes: https://themes.gohugo.io/hugo-paper/

## Install

Inside the folder of your Hugo site, run:

```bash
git clone https://github.com/nanxiaobei/hugo-paper themes/paper
```

Then change in `config.toml`:

```toml
theme = "paper"
```

For more information read the official [guide](https://gohugo.io/getting-started/quick-start/#step-3-add-a-theme) of Hugo.

## Dark Mode

It's automatic, according to the natural time of day and night.