Skip to main content

Posts tagged with #component

Recent Posts (Page 1)

GOHUGO
Hooks

Hooks

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.

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.

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:

Debugging and Logging to CLI

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.

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.

GOHUGO
Head

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.

GOHUGO
Robots

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