Files
hugo/docs
Bjørn Erik Pedersen 7b7a0f3624 resources/page: Revise the new contentbasename permalinks tokens
* Make it work for all pages, including those created from content adapters and not backed by a file.
* Allow the `slug` to win, so the new tokens are:

`:contentbasename`:

1. ContentBaseName

`:slugorcontentbasename`:

1. Slug
2. ContentBaseName

Note that a page will always have a `ContentBaseName`, so no need to fall back to e.g. the title.

Closes #11722
2025-02-17 09:41:49 +01: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

Note: We're working on removing the need to run npm i for local development. Stay tuned.