This article is currently an experimental machine translation and may contain errors. If anything is unclear, please refer to the original Chinese version. I am continuously working to improve the translation.
2020.03.01
Setting up Hexo wasn’t exactly a walk in the park…
I went with Gitalk as the comment system—configuring Yilia’s theme took me forever. Also added Baidu Analytics to track page views.
A few pitfalls I ran into:
- Initially, I used
http://in the site URL within the config file before getting an HTTPS certificate. Later, Netlify deployment threw a “Mixed Content” warning. - After deployment, Netlify provides a free subdomain. You need to redirect it to your custom domain, otherwise it could mess with search engine indexing.
2020.07.24
Later on, I wanted to write Hexo posts from my phone as well, so I decided to push the entire Hexo configuration to Git and use Netlify for continuous deployment—running hexo generate on Netlify. However, I hit another major snag when setting up redirects on Netlify. For details, check out this separate post.
This article is licensed under the CC BY-NC-SA 4.0 license.
Author: lyc8503, Article link: https://blog.lyc8503.net/en/post/blog-improvement/
If this article was helpful or interesting to you, consider buy me a coffee¬_¬
Feel free to comment in English below o/