Skip to main content

Posts tagged with #GoHugo

Recent Posts (Page 1)

Refactoring Gohugo Aliases

Refactoring Gohugo Aliases

GoHugo’s documentation recently started to show functions and methods with their “real” name, instead of the alias used in the GoHugo codebase. Did you for instance knew that apply is actually collections.Apply and append is collections.Append? Knowing these exact names seems to be important to me, because I think it’s easier to understand what functions are connected and what features are available.

GOHUGO
Sitemap

Sitemap

This is a Hugo theme component with layouts to add a configurable sitemap to your website. Hugo itself has internal templates that add sitemaps, but this component extends this by providing setup options per page and keeping up-to-date with current SEO practices.

GOHUGO
Devtools

Devtools

This is a GoHugo theme component loading all of David’s Neighbour’s GoHugo development modules at once. It will currently load hugo-debug, hugo-functions, and hugo-hooks.

Carefully implemented forms

Reusable Gohugo Forms via Configuration

A while back (pre-COVID-19 era), I had the idea to create a GoHugo module that would allow me to create forms via configuration files. I also wanted to easily translate the form into different languages. I sketched out a solution but never got around to implementing it.

GOHUGO
Youtube

Youtube

A responsive and very fast shortcode to add youtube videos to your Hugo website.

GOHUGO
Pictures

Pictures

This component for GoHugo adds partials and shortcodes to resolve and process images on your website. It offers responsive image formats and optimised loading based on current browser abilities. The simplest way is to use this module as a drop-in. Just install it and forget you ever did.

Back to top
Back Forward