mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
47678d8cbd
This commit introduces a new option, enableAutoIDPrefix, to the Goldmark footnote extension. When enabled, it prepends a unique prefix to footnote IDs, preventing clashes when multiple documents are rendered together. This prefix is unique to each logical path, which means that the prefix is not unique across content dimensions such as language. This change also refactors the extension's configuration from a boolean to a struct. Closes #8045
A fast and flexible static site generator built with love by bep, spf13, and friends in Go.
This is the repository for the Hugo documentation site.
Please see the contributing section for guidelines, examples, and process.
Install
npm i
hugo server
Note: We're working on removing the need to run npm i for local development. Stay tuned.