Skip to main content

Posts tagged with #component

Recent Posts (Page 1)

HOOKS v1.2024.9

This module provides Hooks and filters for GoHugo layouts as an easy way for theme developers to let users add partials and blocks at pre-defined safe places in their themes or modules.

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

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

DEVELOPMENT

Formatters Formatters are dedicated layout files for certain variable types. dnb-hugo offers reusable templates for any structural need (two and three column tables or plain printout) and takes over the markup and styling of the output. The configuration for a single formatter offers the following parameters:

CLI DEBUGGING

Debug from your layout file into the CLI/server log Some times we developers want to inform and warn our users, or even throw an error. The debug partial is your connection to the CLI with some more options than GoHugo’s internal error functionality.

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

HUGO-HEAD

This is a GoHugo theme component that solves the old question “What tags belong into the <head> tag of my website?” Set it up, configure it, forget it’s there. This component adds a multitude of tags and is extensively configurable.

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.

Back to top
Back Forward