Skip to content

gethinode/mod-utils

Repository files navigation

Hinode Module - Utilities

A Hugo module with common utilities for your Hinode site

About

Logo

Hinode is a clean blog theme for Hugo, an open-source static site generator. Hinode is available as a template, and a main theme. This repository maintains a Hugo module that define common utilities compatible with your Hinode site. Visit the Hinode documentation site for installation instructions.

Configuration

This module supports the following parameters (see the section params.modules in config.toml):

Setting Default Description
utils.filter [^0-9A-Za-zŽžÀ-ÿ ;.,\/'’"] Defines the regular expression for characters to remove from page descriptions. These page descriptions are used to define card content and metadata for search indexes. Adjust the filter to define which characters to support. You may need to adjust these settings to support specific diacritical letters.
utils.raw false Flag to indicate page descriptions should be returned as-is. In this setting, the filter is ignored.