0%

First Blog

Basic Information | 基本信息

  • Device: MacBook Pro
  • System: macOS Monterey 12.4
  • Framework: Hexo 6.2.0
  • Theme: Next 7.8.0

Why do I create this blog? | 搭建原因

My first idea is to find a place to keep my notes, since the space of my onedrive is too crowded to restore all my documents. Github is excellent, but it would be more satisfying if there is a page, listing and showing all small steps I made in my study life.
After appreciating others' blog, I decide to create my own one. ⭐
Also, the blog may collect my experience, feelings or any other stuff I want to keep. It is a good way to remind myself and share my thoughts with other people.

How did I create my blog? | 搭建过程

The process was not so smooth, but not so hard either.

Preparations

  • Updated my Mac
  • Downloaded homebrew, git, hexo, node... and so on

Establishment

  • Created ssh key
  • Linkied my localhost to my github account
  • Configured _config.yml file of blog
    During this process, thanks for Guo Songxiao's kind help, sovling the problem that my blog page displaying 404(actually I mixed the branches).

Configurations

  • Theme: Next, Pisces
  • Menu, sidebar, avatar, favicon
  • Background!
    (I had followed the steps to create files and add path but I failed countless times. Finally I found that I should add something in main.styl...
    1
    2
    3
    4
    // Custom Layer
    // --------------------------------------------------
    for $inject_style in hexo-config('injects.style')
    @import '/Users/chenyuqing/blog/source/_data/styles.styl';
    Also the path should be absolutely quoted.)

Math Formula

  • (In order to write the tutorial of Experiment CollegePhysics, I configured mathjax.)
  • Download pandoc
  • Download hexo-render-pandoc
  • _config.yml: perpage: true (for a faster loading speed)

After all, it is a admirable process, that I finally overcame the obstacles.

What will I do in the future? | 未来计划

I am currently learning mechanics in USTC. In the future I may working on Biomechanics, and I want to learn something on computer science as well.
Therefore, there could be some summary or experience of the courses I take, and some works I completed.
I will keep on beautifying my blog page and submitting more things.✨