How to add a Mailto link on each page in Hugo?

On this website, I put my email link at the end of each post in place of the comment system. This was inspired by Eli Bendersky’s website. How to make it? ...

2023-12-05 · 2 min · Julie

Switching from Hexo to Hugo

Several months ago I switched this site from Hexo-building to Hugo-building. Some readers asked me why the move and how to do it, so here I’d like to share my experience with you. ...

2023-04-25 · 4 min · Julie

Hugo: How to add a table of contents (TOC) to your post?

Maybe you want to add a Table of Contents ( TOC ) to the articles on your Hugo site but don’t know how to do it, or maybe you want to insert a TOC somewhere in the middle of your post. This is the tutorial for you. ...

2023-04-21 · 3 min · Julie

How to build a personal website using GitHub pages and Hugo?

A personal website is a good place to display your work, either your projects or your technical notes. Then how to build one? In this article I’ll introduce the simplest way to build a site. ...

2023-04-13 · 9 min · Julie

How to write a popular article?

Whenever you write something, an article, a blog post or a paper, you may have a question: “how to write it so that my readers will like it”? In his lecture “Writing Beyond the Academy”, Professor Larry McEnerney from The University of Chicago gave his advice. ...

2023-02-01 · 4 min · Julie

What’s the return value of a bool expression in Python?

We know that the boolean value of 0 is False, and the boolean value of 1 is True. What about the boolean value of a negative number, for example, -2 ? What’s the result of the expression True and 3 in Python? Is it True or False, or other value? Let’s find it out. ...

2023-01-07 · 3 min · Julie