How to Setup a Static Website in 5 Minutes

Jekyll is a parsing engine bundled as a ruby gem used to build static websites from dynamic components such as templates, partials, liquid code, markdown, etc. Jekyll is known as “a simple, blog aware, static site generator

Jekyll comes with the idea of creating a static (same old HTML) blog, one which is easily maintainable. In comparison to a dynamic blogging tool, like WordPress that is built with a server-side languages like PHP, a static website has 2 key advantages.

First, it serves and perform faster. Second, it consumes less web resources namely memory and database I/O. additionally, if you use Jekyll, you can host your blog in Github Pages for free.

If you are using a linux/Mac machine

sudo gem install jekyll

sudo gem install bundler

git init

jekyll serve

Browse to  http://127.0.0.1:4000/

The Advantages of using Jekyll

1) Simplicity

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

2) 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.

3) 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.

4) 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!

5) Minimal

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

6) Design control

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

7) Security

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

8) 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.

Conclusion

Jekyll is a robust static website generator that surpasses the advantages offered by WordPress.

, , , , , , ,
Previous Post
Don’t become a Digital Marketing Expert in Three days – Rather You Cannot!
Next Post
MyQ a Mecca for Techies
Menu