2021-08-20 13:39:36 +02:00
|
|
|
<div align="center">
|
2021-09-04 00:56:57 +02:00
|
|
|
<h1>Paper <sup><sup><sub>5.1</sub></sup></sup></h1>
|
2021-08-20 13:39:36 +02:00
|
|
|
|
2021-08-24 02:15:41 +02:00
|
|
|
Demo → [hugo-paper.vercel.app](https://hugo-paper.vercel.app/)
|
2021-08-20 13:39:36 +02:00
|
|
|
|
|
|
|
<hr />
|
2018-05-04 19:41:09 +02:00
|
|
|
|
2019-04-01 11:57:38 +02:00
|
|
|
A simple, clean, flexible Hugo theme.
|
|
|
|
|
2021-08-20 13:39:36 +02:00
|
|
|
⚡️ Fast | 🦋 Fluent | 🪀 Smooth
|
|
|
|
|
|
|
|
</div>
|
2019-04-01 11:57:38 +02:00
|
|
|
|
2019-08-19 23:12:16 +02:00
|
|
|
---
|
2018-05-04 19:41:09 +02:00
|
|
|
|
2018-07-06 05:25:22 +02:00
|
|
|
## Overview
|
2018-05-04 19:41:09 +02:00
|
|
|
|
2021-08-20 17:27:34 +02:00
|
|
|
![Desktop](https://raw.githubusercontent.com/nanxiaobei/hugo-paper/master/images/screenshot.png)
|
|
|
|
![Mobile](https://raw.githubusercontent.com/nanxiaobei/hugo-paper/master/images/screenshot_mobile.png)
|
|
|
|
|
|
|
|
Hugo themes: [themes.gohugo.io/hugo-paper](https://themes.gohugo.io/hugo-paper/)
|
2018-03-13 08:18:51 +01:00
|
|
|
|
2019-04-01 11:57:38 +02:00
|
|
|
## Install
|
2018-01-08 17:28:39 +01:00
|
|
|
|
2021-08-20 18:51:03 +02:00
|
|
|
Inside the folder of your Hugo project, run:
|
2018-01-08 17:28:39 +01:00
|
|
|
|
2020-08-12 16:30:30 +02:00
|
|
|
```bash
|
|
|
|
git submodule add https://github.com/nanxiaobei/hugo-paper themes/paper
|
|
|
|
```
|
|
|
|
|
2021-08-20 18:51:03 +02:00
|
|
|
Open `config.toml`, change `theme` to `"paper"`:
|
2019-08-19 23:12:16 +02:00
|
|
|
|
|
|
|
```toml
|
|
|
|
theme = "paper"
|
2018-01-08 17:28:39 +01:00
|
|
|
```
|
|
|
|
|
2021-08-20 18:51:03 +02:00
|
|
|
For more information, please read the [official guide](https://gohugo.io/getting-started/quick-start/#step-3-add-a-theme) of Hugo.
|
2020-05-14 22:12:13 +02:00
|
|
|
|
2021-08-20 18:51:03 +02:00
|
|
|
## Options
|
2021-08-20 13:39:36 +02:00
|
|
|
|
2021-08-20 18:51:03 +02:00
|
|
|
Available options to `config.toml`:
|
2021-08-20 13:39:36 +02:00
|
|
|
|
|
|
|
```toml
|
2021-09-12 04:59:01 +02:00
|
|
|
disqusShortname = 'YOUR_DISQUS_SHORTNAME' # add disqus comments
|
2021-08-20 13:39:36 +02:00
|
|
|
|
|
|
|
[params]
|
2021-08-20 19:00:49 +02:00
|
|
|
disableHLJS = true # don't use highlight.js
|
|
|
|
twitter = 'YOUR_TWITTER_ID' # twitter.com/YOUR_TWITTER_ID
|
|
|
|
github = 'YOUR_GITHUB_ID' # github.com/YOUR_GITHUB_ID
|
|
|
|
instagram = 'YOUR_INSTAGRAM_ID' # instagram.com/YOUR_INSTAGRAM_ID
|
2021-08-20 13:39:36 +02:00
|
|
|
```
|
2021-04-18 18:44:12 +02:00
|
|
|
|
|
|
|
## Pitiless Ads
|
|
|
|
|
2021-04-18 18:44:51 +02:00
|
|
|
If you use WeChat, please try "**FUTAKE**". It's a WeChat mini app for your inspiration moments. 🌈
|
2021-04-18 18:44:12 +02:00
|
|
|
|
2021-04-22 22:57:38 +02:00
|
|
|
![FUTAKE](https://s3.jpg.cm/2021/04/22/TDQuS.png)
|