3 Tips to Creating a Successful Blog with Jekyll
by Lucas Stahl
Posted on April 23, 2018
Benefits of using Jekyll's static site generator.
Jekyll Static Site Generator:
I had prior experience with blogging platforms, such as Blogger and WordPress, but the recent launch of Stahlwalker.org was my first attempt and creating a blog from scratch and using Jekyll helped. 3 tips to know before attempting to use Jekyll.
-
Be familiar with the command line as you will use it to run your server and if you don’t have ruby gems installed on your computer will have to do so. After Jekyll is installed there are a number of tutorials on YouTube that can help guide you through, but the one that I found to be the most helpful is on Udemy, called Jekyll: make fast, secure sties and blogs with Jekyll. This course has 29 lectures under 3 hours of material and afterwards you will have a working Jekyll blog.
-
Have a GitHub account. One of the best features with Jekyll is its integration with GitHub. Since, Jekyll works with GitHub you can publish your blog for free instead of going through Digital Ocean, Amazon S3, or Heroku.
-
Additionally, Cloudflare works with GitHub pages and Jekyll in order to help make domains secure. Creating an account with Cloudflare and then changing the DNS of the custom domain that you purchased to reflect GitHub’s DNS can turn any “Username.github.io/appName” into a secure website. I spent a lot of time looking into SSL keys through Digital Ocean and Let’s Encrypt only to find this simpler solution with Cloudflare. The best part about it, it’s free. With Digital Ocean, I was creating droplets that would charge roughly 10 cents a day on top of a $5 a month fee. It also required way more knowledge of the command line because it integrated Nginx, but that is a tale for another time. Long story short, Cloudflare integrated with GitHub and Jekyll can take your blog post one step further than the initial publishing feature GitHub has to offer. Sure, there are ways of publishing with a CNAME on GitHub, however you’ll notice your site isn’t secure and you have an “!” prior to your URL. With the way web servers are cracking down on sites that are not secure, it’s important to make sure yours is from the beginning. Imagine all your hard work building a blog, publishing content for 2-3 years, only for Chrome to shut it down or require you purchasing an SSL Key for $75 a year. Save yourself the hassle and get it through Cloudflare, protect your site right out of the gates.
Here are a couple links to help get you started on creating your first Jekyll Blog.
I hope this was helpful and feel free to comment with suggestions or questions.
- Man of Stahl
jekyll
blog
secure
Previous article