Blog on Github with pelican

Published: 六 11 四月 2020
By jlz

In pelican.

It has been a long time since i wrote blogs. I think it is time to write some thoughts down and practice my English.

It's very easy to blog on Github with pelican.

  1. create a repository on github like this: cainiaocome.github.io, replace cainiaocome with your username
  2. pip install pelican[Markdown] on your computer
  3. git clone your repository
  4. get into that directory
  5. execute command "pelican-quickstart"

Now you can write your first article now. Create a file named test.md inside directory "content" and put these lines in it

Title: My First Review
Date: 2010-12-03 10:20
Category: Review

Following is a review of my favorite mechanical keyboard.

now go to the repo root directory and execute: make html && make github.

That's it. Your blog is now on. check https://yourusername.github.io/ now.

links

social