How to create a Blog in Jekyll | Migrating to a Jekyll Blogging platform

We are migrating our blog from Blogger to Jekyll, a fantastic website generator that’s designed for building minimal, static blogs to be hosted on GitHub Pages. The simplicity of Jekyll’s theming layer and writing workflow is fantastic; however, setting up our website took a lot longer than expected. 

What Is Jekyll?

Jekyll is a website generator that’s designed for building minimal, static blogs to be hosted on GitHub Pages.

Jekyll github




In this article we’ll walk through the following:


  • The quickest way to set up a Jekyll powered blog;
  • How to avoid common problems with using Jekyll;
  • How to import your content from Blogger, use your own domain name, and blog in your favorite editor;
  • How to theme in Jekyll, with Liquid templating examples;
  • Couple of Jekyll 2.0’s new features, including Sass and CoffeeScript support and collections.


Jekyll takes your content written in Markdown, passes it through your templates and spits it out as a complete static website, ready to be served. GitHub Pages conveniently serves the website directly from your GitHub repository so that you don’t have to deal with any hosting.

THE ADVANTAGES OF GOING STATIC

Simplicity. 

Jekyll strips everything down to the bare minimum, eliminating a lot of complexity:

No database. 

Unlike WordPress and other content management systems (CMS), Jekyll doesn’t have a database. All posts and pages are converted to static HTML prior to publication. This is great for loading speed because no database calls are made when a page is loaded.

No CMS. 

Simply write all of your content in Markdown, and Jekyll will run it through templates to generate your static website. GitHub can serve as a CMS if needed because you can edit content on it.

Fast. 

Jekyll is fast because, being stripped down and without a database, you’re just serving up static pages. My base theme, Jekyll Now, makes only three HTTP requests — including the profile picture and social icons!

Minimal. 

Your Jekyll website will include absolutely no functionality or features that you aren’t using.

Design control. 

Spend less time wrestling with complex templates written by other people, and more time creating your own theme or customising an uncomplicated base theme.

Security. 

The vast majority of vulnerabilities that affect platforms like Blogger don’t exist because Jekyll has no CMS, database or PHP. So, you don’t have to spend as much time installing security updates.

Convenient hosting. 

Convenient if you already use GitHub, that is. GitHub Pages will build and host your Jekyll website at no charge, while simultaneously handling version control.


-------------------------------------------------To be continued ----------------------------------------------------

LET’S TRY IT OUT



Grab our feed                                                                           Follow us on facebook
                          
                            

Comments

Popular Posts