Skip to main content

Posts tagged with #gohugo

Recent Posts (Page 2)

HUGO-ROBOTS

This component for GoHugo adds a customizable robots.txt to your website. This module overrides the internal robots.txt generation of Hugo and lets you configure what robots.txt in your public folder will contain. It also offers a meta-robots tag for your head section.

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.

AUDITOR v1.2024.6

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

HUGO-FUNCTIONS v1.2024.7

This documentation is work in progress. Please check back later. A GoHugo theme component with helper functions for other projects. Installing First enable modules in your own repository if you did not already have done so: bash COPY 1hugo mod init github.

HUGO-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.

HUGO-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.

HUGO-SECURITY

This module adds a security.txt file to your Hugo website with information about your preferred procedures to notify the developer team of your website about security issues on your website. Read more about security.txt, a proposed standard which allows websites to define security policies.

PWA

This is a Hugo theme component with helpers to convert your static GoHugo website into a PWA. This is work in progress and while many parts are already working, some changes to the setup will occur. Please watch the releases of this repository to be alerted about changes.

Back to top
Back Forward