Skip to content

Commit 35478ff

Browse files
committed
Add Formspree thank-you page, improve README
Add custom thank-you page to make form look more professional. Clarify use of Formspree and having to confirm email address on each url (when using the free plan). Make installation instructions (hopefully) more approachable. (As a Jekyll newbie, it took me some time to realize that gem themes are not the only way to go, and that Jekyll does theming quite differently than traditional CMSs)
1 parent cfa1b42 commit 35478ff

File tree

4 files changed

+30
-8
lines changed

4 files changed

+30
-8
lines changed

README.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1-
## How to Use This Theme
2-
Just go ahead and read up on [how to install Jekyll](https://jekyllrb.com/). It's not too hard I promise!
1+
# Massively
2+
> This is Massively, a text-heavy, article-oriented design built around a huge background
3+
image.
34

4-
Download this repository [here](https://github.com/iwiedenm/jekyll-theme-massively-src/archive/master.zip) and save it to any folder you want.
5+
## How to Use This Theme
6+
Jekyll consumes themes in two flavors; gem-based or spread across multiple folders
7+
in the site source. This port is of the second type. Concretely, it means that you
8+
can simply grab the [zip][zip] or clone this repository, run `bundle install`
9+
in the new directory and finally `bundle exec jekyll serve`.
10+
You can now access your brand-new Jekyll site on [http://127.0.0.1:4000/][local].
11+
Enjoy!
512

6-
Open a terminal window or a command line and ```cd``` to that location.
13+
If you're completely new to Jekyll, check out it's [documentation][jekyll] first.
14+
It's not too hard, we promise!
715

8-
Then enter: ```bundle exec jekyll serve```. You can now access your new Jekyll site from [http://127.0.0.1:4000/](http://127.0.0.1:4000/). Have fun exploring your new site!
16+
[zip]: https://github.com/iwiedenm/jekyll-theme-massively-src/archive/master.zip
17+
[local]: http://127.0.0.1:4000/
18+
[jekyll]: https://jekyllrb.com/
919

1020
## Features
1121
### Auto-Generating Sitemap
@@ -17,8 +27,10 @@ sitemap:
1727
changefreq: weekly
1828
```
1929

20-
### Formspring.io Integration
21-
Formspring is supported out of the box! Just add your email to ```_config.yml```
30+
### Formspree.io Integration
31+
Formspree is supported out of the box! Just add your email to ```_config.yml``` and test the form.
32+
You have to confirm your email address the first time you use it on each url. Alternatively,
33+
move the from to a dedicated page or consider a pro subscription.
2234

2335

2436
## Credits

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ baseurl: "" # the subpath of your site, e.g. /blog
77
url: "" # the base hostname & protocol for your site
88
background_image: /images/bg.jpg
99
# Tip: The color palette and other styles can be configured in /_sass/lib/_vars.scss
10+
formspree_thankyou_page: /thank-you
1011

1112
defaults:
1213
- scope:
@@ -45,7 +46,7 @@ github: default
4546
# personal
4647
location: Los Angeles, CA
4748
phone: 310-318-5555
48-
email: info@default.com
49+
email: mistermeesix1@gmail.com
4950

5051
# Gems
5152
gems:

_includes/foot.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<footer id="footer">
22
<section>
33
<form method="POST" action="https://formspree.io/{{site.email}}">
4+
<input type="hidden" name="_next" value="{{site.url}}{{site.formspree_thankyou_page}}" />
45
<div class="field">
56
<label for="name">Name</label>
67
<input type="text" name="name" id="name" />

thank-you.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
layout: page
3+
title: Thank you for your correspondence
4+
---
5+
## Thank you for your correspondence
6+
We are delighted to hear from you. You may expect to receive an answer soon.
7+
8+
Have a nice day!

0 commit comments

Comments
 (0)