A nifty boilerplate for Jekyll made magnificent with the help of Bulma.
- Bulma 0.8.0
- jQuery 3.2.1
- Dependency management: yarn
- Asset pipeline: jekyll-assets
- HTML compression: compress.html
- Testing: html-proofer
- Analytics: Google Analytics
- Contact page
- Honeypot and reCAPTCHA implemented to thwart spam-bots
Your development environment should have ruby and the gem package manager setup already.
- Install bundler
gem install bundler
- Install yarn
$ bundle install
$ yarn install
$ bundle exec jekyll serve
$ bundle exec rake email
Please type in an email address then press ENTER/RETURN
[email protected]
Installation:
Update src/_config.yml with the following pairs.
email-key: d05fIsWcv61GbThaN3FkOuL9mHXVnYgBQJUR8r2S7DizwKexqtAZMCP4Eoplyj
email-encoded: [email protected]
The contact page uses Formspree.io by default, unless deploying to Netlify.
Some things to consider
- 100 free submissions per month
- Upon submission, it will Redirects you to thank you page (see thanks.html)
- No registration required
When deploying to Netlify, the blog will automatically integrate with Netlify Forms. If you still prefer to use Formspree.io, simply change the site.contact.page.service
block to formspree
If you don't have access to rake
or you don't care to obfuscate your email address, you can choose to display your email in plaintext by inputing your address in the site.contact.email-plain
block.
- Point Travis to repository
- Configure Travis
- Generate a Personal Access Token from Github
- The only scope needed is repo:public_repo
- Set
GITHUB_API=<token>
on Travis
- Make sure
Display value in build log
toggle is set toOff
!
Good question. Here's what it will do...
- Netlify will clone the git repository of this project into your Github account. This action will require your permission from Github, and of course a Netlify account.
- Netlify will then create a new site for you, and configure it to use your shiny new repo. Right away you'll be able to deploy changes simply by pushing changes to your repo.
- Enjoy your new website 🎉