What is Jekyll ?

Jekyll is a static site generator, typically used for GitHub Pages but not exclusively.

Blog posts usually written in Markdown format (.md).

Prerequisites

  1. Ruby Version 2.5 or higher. Check your Ruby version using the command ruby -v on your terminal
    ruby -v
    

    Don’t have Ruby? Click Here

  2. RubyGems. Normally when you install Ruby on Windows or MacOS, RubyGems are install automatically. Check using gem -v on terminal
    gem -v
    

    Don’t have? Click Here

  3. GCC. Check if you have GCC gcc -v.
    gcc -v
    

    Don’t have GCC ? Click Here

Instructions

  1. Install jekyll and bundler gems. Into your terminal, type:
    gem install jekyll bundler
    
  2. Create a new jekyll site
    jekyll new myblog
    
  3. Change into your new directory
    cd myblog
    
  4. Open a local server
    bundle exec jekyll serve
    
  5. In your Browser type: http://localhost:4000

Post your Fist Blog Post

  1. Open your project in your favorite IDE
  2. into project search _posts and create a file with the following format YYYY-MM-DD-title.md. YYYY represente year (4 digits), MM represent month (2 digits), DD represents day (2 digits). In example, let’s create a file with this name 2023-10-19-amazing-post.md
  3. In 2023-10-19-amazing-post.md begin with a front matter then start inserting content
---
layout: post #this is wich format the your page be like
title: "Welcome To My Amazing Post"
---

# Welcome 

**Hello World**, my name is Ravi

This is my first Post