Blogging with Jekyll and Github Pages

AuthorCreatedModifiedFormat
Xin Li[2019-04-02 Tue 05:59:00][2022-08-15 Mon 04:55:39]org-mode

Table of Contents

  1. Introduction of Jekyll
  2. Installation of Jekyll
  3. Create a blog project
  4. Publish on Github Pages
  5. Footnotes

Introduction of Jekyll

Jekyll is a static site generator. It takes text written in your favorite markup language and uses layouts to create a static website. You can tweak the site's look and feel, URLs, the data displayed on the page, and more.1

Installation of Jekyll

apt install ruby-dev # to install gem
# or
# rbenv install <version>
gem install jekyll
Bash

Create a blog project

jekyll new my-blog
Bash

Publish on Github Pages

和訳

  • Githubgithub-username.github.io という名前のリポジトリを作成します。

  • my-blog のコンテンツを、作成したリポジトリにプッシュします。

  • 数分後、 https://github-username.github.io にアクセスしてみます。

Footnotes

Backlinks