In early 2026, I had the urge to start using my website again. I had a few ideas for some blog posts that I want to write about. While checking out the page and updating what’s been here, I had to figure a few things out. This is just for me to remember what I did for the next time I have to do a major jump.
Updating the theme Link to heading
At the time of writing, I’m using the theme hugo-coder. I did not install it as a submodule but as a plain copy. When updating to the newest version, I had to replace a few files.
- To always link to a link post’s url of to the associated external link: themes/hugo-coder/layouts/posts/li.html {{ .Date | time.Format (.Site.Params.dateFormat | default “January 2, 2006” ) }} {{ .Title }}
- To display link post’s title with an arrow: themes/hugo-coder/layouts/posts/single.html … {{ if .Params.ExternalLink }} → {{ .Title }} {{ else }} {{ .Title }} …
Overview Link to heading
I liked this video tutorial by Luke Smith that helped me understand how Hugo works.