Home Design Your Homepage
Post
Cancel

Design Your Homepage

RayH-Ter.github.io

Personal website for something interesting

Create your own homepage based on Github Page and Jekyll

  1. Create a new repo named yourGithubName.github.io.
  2. Create an index.html and start to edit this file to make you homepage look as pretty as you can.
  3. Plenty of ready-made templates are avaviliable on Jekyll Themes. Just download one you like, and add files you downloaded to the repo you’ve created, then almost everything is done except filling in your own information and notes you’d like to show on your homepage.

Install Jekyll

If you want to edit files offline and get the scene freshed as soon as possible, you are supposed to install Jekyll.

  1. Install the dependencies for Jekyll on Ubuntu, refer Jekyll on Ubuntu
  2. Run jekyll server
    1
    2
    3
    4
    
    jekyll server
    # 如果报错则运行
    bundle install
    bundle exec jekyll serve
    

Other reference

Jekyll on Ubuntu

个人主页 — github + jekyll

启动jekyll服务报错:Could not find gem ‘github-pages’

Chirpy Jekyll Theme

Advice

  1. 在撰写具有大量公式的博客时,需注意公式的规范性,github上markdown行内公式容错性较Typora markdown低,且应搭载mathjax。
  2. 调整博客文章主题可以套用平时Typora中.css文件
This post is licensed under CC BY 4.0 by the author.