Skip to main content

Posts tagged with #GoHugo

Recent Posts (Page %!s(int=2))

Photo by Vincent van Zalinge via Unsplash

Changes to Hugo's debugging abilities on the CLI

Hugo in version 0.114.0 finally introduced the changes I wrote about a while back. The hugo command on the CLI now dropped the –log and –verboseLog flags and deprecated the –verbose and –debug flags. Instead, it now uses the –logLevel as an indicator of verbosity.

Photo by Hitoshi Suzuki via Unsplash

Switching content types in Hugo: A step-by-step guide

Hugo, the little static site generator that powers this website, offers two main content organization options known as page bundles. Page bundles provide a way to group page resources in leaf and branch bundles, allowing for more structured content management. In this quick guide, I will show you how to easily switch between the two types without much manual work.

Photo by Maksym Kaharlytskyi via Unsplash

Creating a Hugo site index

I recently cut out a feature from this website that exported all the content to a JSON file, which I then used to populate my Algolia search index. However, I removed this functionality because I found a more efficient search engine for my small blog.

GOHUGO
Auditor

Auditor

Improve your GoHugo website’s development with this auditing component. These auditing tools ensure you to find hidden performance boosts.

GOHUGO
Giscus

Giscus

This is a Hugo theme component to add the Giscus comment system, powered by GitHub Discussions, to static websites. Note: Giscus is still under active development. GitHub is also still actively developing Discussions and its API. Thus, some features of Giscus may break or change over time.

GOHUGO
Internals

Internals

This module attempts to replace internal templates used by Hugo with custom ones and other modules and plugins that add identical features more sophisticated or up-to-date. Internal templates of Hugo are highly opiniated, often out of time and not suitable for use in the production environment of a website.

Back to top