1
0
Fork 0
Meine modifikationen des Paper-Themes für Hugo
Go to file
Dave Hall d60b76f00e
Add link to demo site
2023-02-24 13:02:42 +11:00
assets fix #150 2023-02-20 15:09:53 +08:00
exampleSite update GraphComment 2023-01-09 01:49:43 +08:00
i18n Added Belarusian i18n file 2023-02-03 13:47:26 +02:00
images update images 2022-07-20 00:27:29 +08:00
layouts fix title's link when there is no baseURL in config file 2023-02-21 05:22:20 +08:00
static refine svg 2022-12-25 04:14:33 +08:00
.gitignore update .gitignore 2021-08-24 07:59:26 +08:00
.prettierignore update configs 2022-07-18 23:36:23 +08:00
.prettierrc.js run prettier 2022-11-15 08:06:02 +08:00
.stylelintignore update configs 2022-07-18 23:36:23 +08:00
.stylelintrc.js upgrade deps 2022-08-16 00:51:52 +08:00
LICENSE update license 2023-01-12 15:17:50 +08:00
README.md 6.8 2023-02-06 01:56:18 +08:00
package.json 6.8.1 2023-02-20 15:11:53 +08:00
pnpm-lock.yaml upgrade deps 2023-02-20 15:10:58 +08:00
tailwind.config.js update configs 2022-07-18 23:36:23 +08:00
theme.toml Add link to demo site 2023-02-24 13:02:42 +11:00

README.md

Paper 6.8

Demo → hugo-paper.vercel.app


A simple, clean, flexible Hugo theme.

Fast | 📸 Fluent | 🫙 Smooth


Product Hunt: producthunt.com/posts/hugo-paper-6

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

Overview

Install

Inside the folder of your Hugo project, run:

git submodule add https://github.com/nanxiaobei/hugo-paper themes/paper

Open config.toml, change theme to "paper":

theme = "paper"

For more information, please read the official guide of Hugo.

Options

Available options to config.toml:

disqusShortname = 'YOUR_DISQUS_SHORTNAME'   # use disqus comments

[params]
  # color style
  color = 'linen'                           # linen, wheat, gray, light

  # header social icons
  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
  mastodon = 'YOUR_MASTODON_LINK'           # e.g. 'https://mastodon.instance/@xxx'
  rss = true                                # show rss icon

  # home page profile
  avatar = 'GRAVATAR_EMAIL'                 # gravatar email or image url
  name = 'YOUR_NAME'
  bio = 'YOUR_BIO'


  # misc
  disableHLJS = true                        # disable highlight.js
  monoDarkIcon = true                       # show monochrome dark mode icon
  gravatarCdn = 'GRAVATAR_CDN_LINK'         # e.g. 'https://cdn.v2ex.com/gravatar/'
  graphCommentId = "YOUR_GRAPH_COMMENT_ID"  # use graph comment (disqus alternative)

Available options to front matter:

comments = false                            # disable comments for a specific page

License

MIT License (c) nanxiaobei

FUTAKE

Try FUTAKE in WeChat. A mini app for your inspiration moments. 🌈