Learning Jekyll By Example
Minimum price
Suggested price

Learning Jekyll By Example

Building a Jekyll Website, Start to Finish

About the Book

Please view the updated version of my book on my website.


In what can only be explained as the Ultimate Jekyll Tutorial, you will learn how to build a Jekyll website start to finish. From a blank folder on your file system, you will learn how to install Ruby, Jekyll, and the various modules it depends on. You will then build a full, working Jekyll blog from scratch using the Twitter Bootstrap framework and deploy it on Amazon S3.

"Learning Jekyll By Example" will teach you everything you need to know about publishing a Jekyll website.

Select portions of the tutorial are available for free on my website, but by purchasing the book from Leanpub, you'll receive a DRM free PDF, Mobi, and E Pub book with the entire walkthrough. As a bonus, the full book contains additional tutorials on optimizing your Jekyll website for search engines, speeding your website up with resource bundling and Amazon's CloudFront content distribution network, and a command line reference guide. You'll also get a Glossary of Terms filled with Jekyll-related material, as well as bonus material, including the files for the completed tutorial.

  • Share this book

About the Author

Andrew Munsell
Andrew Munsell

I am a college student attending the University of Washington with experience in several programming languages. My story dates back to 2009 when the original Palm Pre came out running the WebOS platform. Interested in Palm's forward thinking and the use of web technologies in a mobile phone, I began to develop for WebOS. After several successes that gained recognition from Palm and resulted in an invite to the then-exclusive WebOS App Catalog, I made it big when an app, Pixi Dust, won the $50,000 prize in the Palm Hot Apps competition, beating other games such as Angry Birds.

Since then, I've moved on to programming for the Mac, Windows 8, and iOS. I love technology, but my interest for medicine also has allowed me to blend my two passions by working on applications in the field of Radiology. Most recently, I presented at the Radiological Society of North America conference in Chicago, Illinois.

Table of Contents

  • Introduction to Jekyll
  • Prerequisites
  • Why Jekyll?
  • Moving from Tumblr
  • Wordpress.org
  • Hosted Wordpress
  • Jekyll
  • Who Jekyll is For
  • Building a Jekyll Website, Start to Finish
  • Installing Jekyll
  • Mac OS X
  • RDiscount
  • Pygments
  • Windows
  • RDiscount
  • Starting Your Website
  • _config.yml
  • _includes
  • _layouts
  • _posts
  • Adding Content
  • Using Auto-Generate and the Jekyll Server
  • Building the Theme
  • Download Bootstrap
  • Creating a Layout
  • Liquid Template System
  • Using Includes
  • _layouts/default.html
  • _includes/header.html
  • _includes/footer.html
  • Building a Sidebar
  • Setting Up Blog Posts
  • Post Dummy Content
  • Introduction to Post Loops
  • The Main Loop
  • Filters
  • Post Content Pages
  • Pagination
  • Challenge
  • Creating a Static Page
  • Solution
  • Deploying to Amazon S3
  • Using Your Own Domain Name
  • Changing DNS on CloudFlare
  • Accessing Your Website Without a “www”
  • Changing DNS on Amazon Route 53
  • Conclusion
  • Command Line Reference
  • cd
  • jekyll
  • Installing Jekyll Plugins
  • Sitemap Plugin
  • Optimizing Your Jekyll Website For Search Engines
  • SEO Overview
  • Relevent Content
  • Keywords
  • Meta Descriptions
  • Author Rank
  • Custom Meta Descriptions
  • Author Rank in Jekyll
  • Optimizing Load Times
  • Resource Bundling
  • Installing the Jekyll Asset Pipeline
  • Concatenating CSS
  • Combining Javascript Files
  • Deploying on Amazon CloudFront
  • Configuring Your CloudFront Distribution
  • Changing Your Domain’s DNS (Again)
  • Extra Materials and Goodies
  • Glossary of Terms

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub