Blog Upgrade

Here is a summary of upgrades I did to my blog recently. I also keep instructions here for future reference.

Note: I use Next theme, so some of instructions are bound to the configuration of this theme.

1. Add site UV/PV and page PV

Just edit the busuanzi item in theme configuration file. Set enable: true.

2. Add google analytics to the blog site

Also a configuration in theme configuration file Set google_analytics: id. The id is provided when you register the Google Analytics.

3. Add a about page

Remove the comment to enable about: /about/ || user in menu item of theme configuration file.

The about page should be created by ourselves:

1
hexo new page "about"

4. Enable MathJax to insert Latex Equations in posts

Edit the mathjax item in theme configuration file. I use the defualt cdn, but an alternate cdn could be used to allow faster loading.

Writing mathJax equation is as easy as writing Latex Equation, for example:
$$\sum_{i=1}^n a_i=0$$
$$f(x)=x^{x^x}$$