mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 21:51:02 +03:00
![]() * 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 |
||
---|---|---|
.. | ||
.github | ||
.vscode | ||
archetypes | ||
assets | ||
content | ||
data | ||
layouts | ||
static | ||
.codespellrc | ||
.cspell.json | ||
.editorconfig | ||
.gitignore | ||
.markdownlint.yaml | ||
.markdownlintignore | ||
.textlintignore | ||
go.mod | ||
go.sum | ||
hugo.toml | ||
hugo.work | ||
hugoreleaser.yaml | ||
LICENSE.md | ||
netlify.toml | ||
package.json | ||
README.md | ||
tailwind.config.js |
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.