Table of Contents for your Hugo pages
Setting up table of contents sections in Hugo pages can be as complicated as you’d like. Let’s breakdown how I use it to hopefully inspire you to experiment with this useful feature.
Out of most of the static-site generators (SSG) I’ve used, I find myself coming back to Hugo regularly for all my SSG work. In this topic, I cover how to work with Hugo to build this site. You might also find some more generic posts that you can use in your own Hugo project.
Setting up table of contents sections in Hugo pages can be as complicated as you’d like. Let’s breakdown how I use it to hopefully inspire you to experiment with this useful feature.
Using code blocks in Hugo is helpful when you’ve got to show some code in your posts. But labeling & highlighing them beyond the syntax highlighting helps the experience of your readers immensely.
When doing local web development, it’s useful to have multiple devices to view your site. This is especially true with mobile-first design & starting a Hugo project from scratch. This neat feature will help you do this reliably across development environments.
Writing content & generating websites with Hugo can be a delight when everything is going smoothly. But what if things don’t go smoothly? I’ll go over the different ways to work with Hugo while debugging its data structures.