1
0
Fork 0
hugo-paper/README.md
2022-12-27 02:50:47 +08:00

2.2 KiB
Executable file
Raw Blame History

Paper 6.6

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'   # add 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 requesting highlight.js
  monoDarkIcon = true               # show monochrome dark mode icon
  gravatarCdn = 'GRAVATAR_CDN_LINK' # e.g. 'https://cdn.v2ex.com/gravatar/'

License

MIT License (c) nanxiaobei

FUTAKE

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