/images/avatar.jpg

lilfry's library

🤖 Notes on LLMs, agents, algorithms, LeetCode, and random thoughts.

A tiny corner of the internet

How to build your own blog with hugo

Who is this written for?

If you also want to start your own blog and hope to:

  • The source code is placed in a warehouse so that you can write it slowly
  • The final website is automatically deployed to yourusername.github.io
  • Try to avoid the pitfalls of GitHub Pages and Hugo as much as possible

Then this process will be easier.

I am using two warehouses here:

  • Private warehouse: blogsource
  • Public warehouse: yourusername.github.io

Among them, it is best to use yourusername.github.io directly as the name of the public warehouse. If it is your first time to use GitHub Pages, it is recommended to follow this step, which is the easiest.