mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-12-25 22:53:32 +02:00
Update README.md
Added instructions to README.md on how to add a hugo contact form
This commit is contained in:
parent
50fc665d2a
commit
2df4fb3cf8
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
@ -23,6 +23,18 @@ find . -not -path '*/exampleSite/*' \( -name '*.html' -o -name '*.css' \) | xarg
|
|||
137 total
|
||||
```
|
||||
|
||||
|
||||
## [Add hugo contact form](https://fabform.io/a/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>
|
||||
```
|
||||
|
||||
|
||||
I can certainly further reduce the code, for example, by eliminating the CSS, but I believe a tiny bit of CSS can greatly improve readability. You cannot really find many CSS frameworks that only contain 50 lines of code.
|
||||
|
||||
[![Screenshot](https://github.com/yihui/hugo-xmin/raw/master/images/screenshot.png)](https://xmin.yihui.org)
|
||||
|
|
Loading…
Reference in a new issue