Skip to main content

Posts tagged with #Hugo

Recent Posts (Page 1)

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

Auditor

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

Pictures

Pictures

This component for GoHugo adds partials and shortcodes to handle images on your website. It offers responsive image formats and optimised loading based on current browser abilities. Work in progress! Check back for better documentation and more features. The following documentation is, as long as this note is here, only partial and might be missing important points.

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.

Youtube

Youtube

A responsive and very fast shortcode to add youtube videos to your Hugo website. Usage This shortcode replaces the internal youtube shortcode and adds an unobtrusive, privacy conscious and unbloated custom element for YouTube videos. It uses lite-youtube-embed. go-html-template 1{{< youtube id="dQw4w9WgXcQ" >}} 2{{< youtube "dQw4w9WgXcQ" >}} 3{{< youtube id="dQw4w9WgXcQ" title="Lower your eyelids to die with the sun - M83" >}} Parameters parameter default notes class w-100 classnames to add to the video container id ID of the YouTube video to embed params custom parameters to be added to influence the display and functionality of the player.

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.