Featured image of post Configuring PagesCMS to Match HUGO's Directory Structure

Configuring PagesCMS to Match HUGO's Directory Structure

In the previous article Pages CMS: A Barely Adequate Backend for HUGO Blog, I mentioned that Pages CMS can be used as a backend management panel for Hugo articles. However, there is an issue that is not easy to solve, which is that Hugo’s default directory structure is difficult to adapt to Pages CMS. This is not a unique problem for Pages CMS; any other CMS might encounter this issue when adapting to Hugo. But with the strong support of the Hugo community, I eventually solved this problem.

Featured image of post Using Pages CMS as a Backend for HUGO Blog

Using Pages CMS as a Backend for HUGO Blog

After migrating from WordPress to Hugo, I have always missed the convenience of WordPress’s backend management and its mobile app. For this reason, I previously wrote an article on How to Update a Hugo Blog on an Android Phone. However, using Vscode and StackEdit on a phone is still somewhat cumbersome, mainly due to the small screen size, which makes fine-tuned operations difficult with touch controls. During this process, I also tried several Hugo CMS solutions, but none met my needs.

Featured image of post How to Slim Down the GitHub Repository for a Hugo Blog

How to Slim Down the GitHub Repository for a Hugo Blog

My Hugo blog has been hosted on GitHub for the past year, but with the upgrade of the Hugo version, a lot of invalid fragmented files were generated during multiple refactorings. Additionally, all the image files from my blog generated a large amount of junk files during the conversion to webp, causing the GitHub repository to grow excessively, nearing the 1GB warning line. Therefore, I decided to clean up the repository today.

Featured image of post What Server is Good for Personal Blogs

What Server is Good for Personal Blogs

Just after Black Friday, I originally planned to buy a few small VPSs, and indeed, I bought several. However, after a few days of testing, I only kept one. The main reason was that I got lucky and registered a new Oracle account, scoring a very suitable cloud server for free. This saved me money, so I returned most of the VPSs I bought during Black Friday.

Featured image of post How to Prevent Personal Extremist Incidents

How to Prevent Personal Extremist Incidents

Recently, there have been multiple personal extremist incidents in China, some of which have resulted in significant casualties, severely impacting social stability and order. I previously wrote an article titled Some Thoughts on Homicide Prevention that briefly outlined and introduced the prevention and control of conventional homicides, from theory to practice. However, the content was quite broad, and there are notable differences in specific prevention strategies compared to the current personal extremist incidents aimed at societal revenge. Here, I will supplement my thoughts on preventing personal extremist incidents.

Featured image of post Why Don't Chinese People Like Logic?

Why Don't Chinese People Like Logic?

Many people today are accustomed to viewing the world through a binary lens—left or right, black or white, this or that. For example, when categorizing people, they often divide them into liberal arts students and science students. The typical stereotype of liberal arts students is that they lack logical thinking.