1
0
Fork 0
hugo-paper/README.md
derrygeoff a8aa542207
Update README.md
Added instructions to add a hugo contact form on README.md
2022-05-30 10:10:09 +01:00

2 KiB
Executable file
Raw Blame History

Paper 5.1

Demo → hugo-paper.vercel.app


A simple, clean, flexible Hugo theme.

Fast | 🦋 Fluent | 🪀 Smooth


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

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]
  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

Add hugo contact form

<form action="https://fabform.io/f/{form-id}" method="post">
 <label for="email">Your Email</label>
 <input name="email" type="email">
 <button type="submit">Submit</button> 
</form>

License

MIT License (c) nanxiaobei

FUTAKE

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

FUTAKE