noway - PUBLIC
  • DOCS FOR THINGS
  • _ref
    • Working Memory
    • NASA’s 10 rules for writing mission-critical code
    • React Native
  • _docs
    • Cryptography
    • Store APIs Key in FrontEnd SDK issues
    • APIs abuse issues
    • Webpack
    • Specific things
      • Text recognition
    • Book reviews
      • April 2020
      • 1-2/2020
      • March 2020
    • Visualization
    • MacOS
    • Go
    • Server
      • Easy way to setup a local HTTP Server on macOS
    • React
    • Reading
    • Tips
      • MVP
      • Sleeping in the right way
      • Get more things done
    • VS Code
      • Intelligent doesn't auto complete the JSX attribute or react-native components
      • Setting.json
    • Service Registration
      • Apple Enterprise Developer Account
    • DevOps
      • Using NGINX for ReactJS
    • Firebase
      • Upload image
      • Save data
      • Save Data with unique key
      • Setup local firebase functions
    • Documentation
      • API Documentation
    • React Native
      • Tips
      • Performance
      • Patterns in React
      • Rendering in React
      • View JS from apk
      • Flatlist with large data list causes blank view
      • Facebook SDK
      • Screen Events
      • Hotkeys
      • Deep Links
        • iOS Deep Link: Universal Link vs URL Schemes‌
        • Deferred Link‌
      • Text going off screen with flexDirection: 'row'
  • _posts
    • 2020-07-13-How-to-Understand-things
    • 2019-02-20-how-to-create-Jekyll-blog-with-github-page
    • 2019-03-01-books-02-19
    • 2019-02-11-highlight-the-pragmatic-programmer-part-01
    • 2019-02-15-highlight-the-pragmatic-programmer-part-03
    • 2019-02-14-highlight-the-pragmatic-programmer-part-02
    • 2019-04-11-books-03-19
    • 2019-03-07-telegram-bot-as-a-real-time-logger
    • 2019-02-04-generic-loading-ios
    • 2019-01-31-summary-books-01-19
    • 2019-03-27-short-polling-with-Swift
    • 2019-02-22-try-catch-exception-rather-than-return-codes
    • 2019-09-29-api-docs
  • category-archive
  • tag-archive
Powered by GitBook
On this page
  • How to fork Minimal Mistakes theme and host blog in Github Pages
  • Site settings section
  • Author section
  • Footer section
  • Posts
  • Tags, Categories
  • Comment plugin

Was this helpful?

  1. _posts

2019-02-20-how-to-create-Jekyll-blog-with-github-page

Previous2020-07-13-How-to-Understand-thingsNext2019-03-01-books-02-19

Last updated 5 years ago

Was this helpful?

In this post, I will explain step-by-step how I created this simple blog in a short time

Many thanks to

My blog's using

  • Github Pages

  • theme base on Jekyll

  • Markdown format for posts

My blog features:

  • Writing posts with markdown format

  • Tags, categoris

  • Comment

  • Share

There are many ways to use Jekyll, I chose Minimal Mistakes and Github Pages because it's the simplest way I can find.

How to fork Minimal Mistakes theme and host blog in Github Pages

There are 3 ways to Jekyll themes. I chose forking the repo so it's easy to use with Github Pages

  1. Fork repo

  2. Change the forked repo name to your github usename {username}.github.io

  3. DONE. You have a blog at https://{username}.github.io (For the first time, the blog will be available in a few minutes)

Site settings section

With # Site Settings section in _config.yml, you can update:

# Site Settings
title                    : "tuledev Blog"
title_separator          : "-"
name                     : "Anh Tu Le"
description              : "A personal blog."
masthead_title           : "Play With Me"

Author section

With # Site Settings section in _config.yml, you can update:

# Site Author
author:
  name             : "Anh Tu Le"
  avatar           : "assets/images/ic_author.png" # image that you add to assets folder
  bio              : "Working Programmer"
  location         : "Ho Chi Minh - VN"
  email            :
  links:
    - label: "Email"
      icon: "fas fa-fw fa-envelope-square"
      url: mailto:tule.developer@gmail.com

Footer section

With # Site Author, you can custom footer link items.

Posts

Tags, Categories

Comment plugin

Custom comment plugin in _config.yml also. Enable in

# Defaults
defaults:
  # _posts
  - scope:
      path: ""
      type: posts
    values:
      layout: single
      author_profile: true
      read_time: true
      comments: true // here
      share: true
      related: true
comments:
  provider               : "facebook"
  facebook:
    appid                : "APP_ID"
    num_posts            : # 5 (default)
    colorscheme          : # "light" (default), "dark"

You have a blog with inititial data now. Look at , you can custom many things with less effort.

You can write posts with Markdown format, and then commit/push them to master branch. For more format details, you can read here

Because Github Pages work with Liquid, you just need to copy , and paste them to the root folder.

Custom facebook appid from facebook comment plugin in. For creating facebook appid, you can read more here

All the sources for this blog, you can find at my

Minimal Mistakes
Minimal Mistakes
install
Minimal Mistakes
quick-start-guide
Woking with posts
tag-archive
category-archive
Facebook
repo