a8aa542207
Added instructions to add a hugo contact form on README.md
2 KiB
Executable file
2 KiB
Executable file
Paper 5.1
Demo → hugo-paper.vercel.app
A simple, clean, flexible Hugo theme.
⚡️ Fast | 🦋 Fluent | 🪀 Smooth
Links
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
FUTAKE
Try FUTAKE in WeChat. A mini app for your inspiration moments. 🌈