Skip to content

nanxiaobei/hugo-paper

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 20, 2023 02:34
January 9, 2023 01:49
February 3, 2023 13:47
February 26, 2023 00:19
March 20, 2023 02:34
December 25, 2022 04:14
August 24, 2021 07:59
July 18, 2022 23:36
November 15, 2022 08:06
July 18, 2022 23:36
August 16, 2022 00:51
January 12, 2023 15:17
March 20, 2023 02:38
March 20, 2023 02:36
March 20, 2023 02:35
July 18, 2022 23:36
February 24, 2023 13:02

Paper 6.10

Demo → hugo-paper.vercel.app


A simple, clean, flexible Hugo theme.

⚡️ Fast | 📸 Fluent | 🫙 Smooth


Links

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. 🌈