Files
Bjørn Erik PedersenandClaude Opus 5.5 f63482bfbf navigation: Escape pre/post in front matter menu entries
Front matter is content, which is not trusted, but the `pre` and `post` values of menu entries defined there were rendered as unescaped `template.HTML`.

These are now HTML escaped unless `text/html` is allowed in `security.allowContent`, which already marks HTML from `/content` as trusted. A warning (`warning-menu-pre-post-html-escaped`) is logged when a value containing HTML markup is escaped.

Menu entries defined in the project configuration are not affected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:49:54 +02:00
..

Hugo

A fast and flexible static site generator built with love by bep, spf13, and friends in Go.


Netlify Status PRs Welcome

This is the repository for the Hugo documentation site.

Please see the contributing section for guidelines, examples, and process.

Install

npm i
hugo server